mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-18 00:45:55 +08:00
智慧宿舍系统小程序
This commit is contained in:
26
wechat/miniprogram/node_modules/@vant/weapp/lib/row/index.js
generated
vendored
Normal file
26
wechat/miniprogram/node_modules/@vant/weapp/lib/row/index.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
'use strict';
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
var component_1 = require('../common/component');
|
||||
var relation_1 = require('../common/relation');
|
||||
component_1.VantComponent({
|
||||
relation: relation_1.useChildren('col', function (target) {
|
||||
var gutter = this.data.gutter;
|
||||
if (gutter) {
|
||||
target.setData({ gutter: gutter });
|
||||
}
|
||||
}),
|
||||
props: {
|
||||
gutter: {
|
||||
type: Number,
|
||||
observer: 'setGutter',
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
setGutter: function () {
|
||||
var _this = this;
|
||||
this.children.forEach(function (col) {
|
||||
col.setData(_this.data);
|
||||
});
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user