mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[Deprecate] add Waterfall deprecate tip (#683)
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import Waterfall from './directive.js';
|
||||
|
||||
const install = function(Vue) {
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
console.warn('[Vant warn] Waterfall is deprecated, please use List component instread.');
|
||||
}
|
||||
Vue.directive('WaterfallLower', Waterfall('lower'));
|
||||
Vue.directive('WaterfallUpper', Waterfall('upper'));
|
||||
};
|
||||
|
Reference in New Issue
Block a user