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

弹出框优化

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