From 27d7e91af0982a43e4d23e9d8d031f3acb5b89ba Mon Sep 17 00:00:00 2001 From: break60 <790061044@qq.com> Date: Wed, 13 Jan 2021 20:03:37 +0800 Subject: [PATCH] fix --- dolphinscheduler-ui/.env | 4 +-- .../_source/createWarningInstance.vue | 25 +------------------ 2 files changed, 3 insertions(+), 26 deletions(-) diff --git a/dolphinscheduler-ui/.env b/dolphinscheduler-ui/.env index e5dea24df3..e676be6059 100644 --- a/dolphinscheduler-ui/.env +++ b/dolphinscheduler-ui/.env @@ -14,7 +14,7 @@ # limitations under the License. # back end interface address -API_BASE = http://192.168.220.191:8080 +API_BASE = http://192.168.xx.xx:12345 # If IP access is required for local development, remove the "#" -DEV_HOST = 172.16.99.25 +#DEV_HOST = 192.168.xx.xx diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue index 7ce296e272..95b901a73f 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue @@ -78,7 +78,6 @@ store, instanceName: '', pluginDefineId: null, - options: [{ code: `${i18n.$t('Email')}`, id: 'EMAIL' }, { code: `${i18n.$t('SMS')}`, id: 'SMS' }], $f: {}, rule: [] } @@ -115,30 +114,8 @@ } return true }, + // Select plugin changePlugin () { - // this.rule = [ - // { - // type: 'input', - // field: 'dingTalkWebHook', - // className: 'user-name-dom', - // title: $t('Alarm instance name'), - // value: null, - // props: { - // placeholder: '请输入用户名称!', - // size: 'small', - // disabled: false, - // readonly: false, - // clearable: true - // }, - // validate: [ - // { - // trigger: 'blur', - // required: true, - // message: '用户名称不能为空!' - // } - // ] - // } - // ] this.store.dispatch('security/getUiPluginsByID', { pluginId: this.pluginDefineId }).then(res => {