23 lines
547 B
JavaScript
Raw Normal View History

2020-06-09 16:17:23 +08:00
(0, require("../common/component").VantComponent)({
relation: {
type: "descendant",
name: "goods-action-button",
linked: function(n) {
this.children.push(n);
},
unlinked: function(n) {
this.children = this.children.filter(function(e) {
return e !== n;
});
}
},
beforeCreate: function() {
this.children = [];
},
props: {
safeAreaInsetBottom: {
type: Boolean,
value: !0
}
}
});