Commit ef223b8c authored by Xuguangxing's avatar Xuguangxing

feat: 促销折扣组件库传递数据优化

parent 9b8e9e7d
...@@ -50,11 +50,13 @@ export default { ...@@ -50,11 +50,13 @@ export default {
} }
}, },
watch: { watch: {
value(val) {
this.goods = val;
},
goods: { goods: {
handler() { handler(val) {
this.$emit('input', this.goods); this.$emit('input', val);
}, },
immediate: true,
deep: true deep: true
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment