mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-18 08:55:53 +08:00
智慧宿舍系统小程序
This commit is contained in:
23
wechat/miniprogram/node_modules/@vant/weapp/dist/row/index.js
generated
vendored
Normal file
23
wechat/miniprogram/node_modules/@vant/weapp/dist/row/index.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
import { VantComponent } from '../common/component';
|
||||
import { useChildren } from '../common/relation';
|
||||
VantComponent({
|
||||
relation: useChildren('col', function (target) {
|
||||
const { gutter } = this.data;
|
||||
if (gutter) {
|
||||
target.setData({ gutter });
|
||||
}
|
||||
}),
|
||||
props: {
|
||||
gutter: {
|
||||
type: Number,
|
||||
observer: 'setGutter',
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
setGutter() {
|
||||
this.children.forEach((col) => {
|
||||
col.setData(this.data);
|
||||
});
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user