Browse Source

Merge remote-tracking branch 'remotes/upstream/branch-1.0.2' into branch-1.0.2

pull/2/head
ligang 6 years ago
parent
commit
330e0a3b27
  1. 2
      escheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/rename.vue
  2. 2
      escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/rename.vue

2
escheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/rename.vue

@ -51,7 +51,7 @@
this._verification().then(res => { this._verification().then(res => {
if (this.name === this.item.alias) { if (this.name === this.item.alias) {
return new Promise((resolve,reject) => { return new Promise((resolve,reject) => {
resolve() this.desc === this.item.desc ? reject({msg:'内容未修改'}) : resolve()
}) })
}else{ }else{
return this.store.dispatch('resource/resourceVerifyName', { return this.store.dispatch('resource/resourceVerifyName', {

2
escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/rename.vue

@ -51,7 +51,7 @@
this._verification().then(res => { this._verification().then(res => {
if (this.name === this.item.alias) { if (this.name === this.item.alias) {
return new Promise((resolve,reject) => { return new Promise((resolve,reject) => {
resolve() this.desc === this.item.desc ? reject({msg:'内容未修改'}) : resolve()
}) })
}else{ }else{
return this.store.dispatch('resource/resourceVerifyName', { return this.store.dispatch('resource/resourceVerifyName', {

Loading…
Cancel
Save