Commit 98d9289f authored by 何虹's avatar 何虹 💬

弹出框优化

parent ce0138d6
......@@ -31,14 +31,7 @@ export default {
name: 'hs-dialog',
props: {
visible: {},
allSourceData: {
type: Object,
default() {
return {
config: {}
}
}
},
config: {},
elInfo: {
type: Object,
default() {
......@@ -53,7 +46,6 @@ export default {
return Object.assign(this.config_data, this.config)
}
},
watch: {},
data() {
return {
elId: '',
......@@ -68,7 +60,7 @@ export default {
exectAction(action) {
const type = typeof action
if (type === 'function') {
action(this.value, this.formData)
action()
}
},
handleClose() {
......
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