Browse Source

fix

pull/2/head
break60 4 years ago
parent
commit
dce89249e3
  1. 52
      dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/index.vue

52
dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/index.vue

@ -92,32 +92,32 @@
_onEdit (item) { _onEdit (item) {
this._create(item) this._create(item)
}, },
_create (item) { // _create (item) {
let self = this // let self = this
let modal = this.$modal.dialog({ // let modal = this.$modal.dialog({
closable: false, // closable: false,
showMask: true, // showMask: true,
escClose: true, // escClose: true,
className: 'v-modal-custom', // className: 'v-modal-custom',
transitionName: 'opacityp', // transitionName: 'opacityp',
render (h) { // render (h) {
return h(mCreateWorker, { // return h(mCreateWorker, {
on: { // on: {
onUpdate () { // onUpdate () {
self._debounceGET('false') // self._debounceGET('false')
modal.remove() // modal.remove()
}, // },
close () { // close () {
modal.remove() // modal.remove()
} // }
}, // },
props: { // props: {
item: item // item: item
} // }
}) // })
} // }
}) // })
}, // },
_getList (flag) { _getList (flag) {
this.isLoading = !flag this.isLoading = !flag
this.getWorkerGroups(this.searchParams).then(res => { this.getWorkerGroups(this.searchParams).then(res => {

Loading…
Cancel
Save