Commit c16bba0e by wangql
2 parents 31368336 082859f1
......@@ -145,7 +145,7 @@ export default {
eventBus: {
handler(__eventBus) {
__eventBus &&
__eventBus.$on('submit', () => {
__eventBus.$on('submit', callback => {
this.$validator.validateAll().then(result => {
// __eventBus.$emit('manufacturers', this.model)
this.result.manufacturers = this.manufacturer_list.filter(
......@@ -155,6 +155,7 @@ export default {
obj => this.model.merchantId === obj.merchantId
)[0]
this.$emit('update:value', this.result)
callback && callback()
})
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!