mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Deprecate] add Waterfall deprecate tip (#683)
This commit is contained in:
parent
5592db2cb2
commit
c45cbb632f
@ -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'));
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user