Browse Source

fix

pull/3/MERGE
break60 4 years ago
parent
commit
27d7e91af0
  1. 4
      dolphinscheduler-ui/.env
  2. 25
      dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue

4
dolphinscheduler-ui/.env

@ -14,7 +14,7 @@
# limitations under the License. # limitations under the License.
# back end interface address # 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 "#" # If IP access is required for local development, remove the "#"
DEV_HOST = 172.16.99.25 #DEV_HOST = 192.168.xx.xx

25
dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue

@ -78,7 +78,6 @@
store, store,
instanceName: '', instanceName: '',
pluginDefineId: null, pluginDefineId: null,
options: [{ code: `${i18n.$t('Email')}`, id: 'EMAIL' }, { code: `${i18n.$t('SMS')}`, id: 'SMS' }],
$f: {}, $f: {},
rule: [] rule: []
} }
@ -115,30 +114,8 @@
} }
return true return true
}, },
// Select plugin
changePlugin () { 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', { this.store.dispatch('security/getUiPluginsByID', {
pluginId: this.pluginDefineId pluginId: this.pluginDefineId
}).then(res => { }).then(res => {

Loading…
Cancel
Save