File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
Vol.Vue3版本/src/components/basic/ViewGrid
Vol.Vue/src/components/basic/ViewGridConfig
开发版dev/Vue.NetCore/Vol.Vue/src/components/basic/ViewGridConfig Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -580,10 +580,11 @@ let methods = {
580580 let _currentIsAdd = this . currentAction == this . const . ADD ;
581581 if ( _currentIsAdd ) {
582582 //2020.12.06增加新建前异步处理方法
583- if ( ! this . addBefore ( formData ) || await ! this . addBeforeAsync ( formData ) ) return ;
583+ //2021.08.16修复异步语法写错的问题
584+ if ( ! this . addBefore ( formData ) || ! await this . addBeforeAsync ( formData ) ) return ;
584585 } else {
585586 //2020.12.06增加修改前异步处理方法
586- if ( ! this . updateBefore ( formData ) || await ! this . updateBeforeAsync ( formData ) ) return ;
587+ if ( ! this . updateBefore ( formData ) || ! await this . updateBeforeAsync ( formData ) ) return ;
587588 }
588589 let url = this . getUrl ( this . currentAction ) ;
589590 this . http . post ( url , formData , true ) . then ( x => {
Original file line number Diff line number Diff line change @@ -590,10 +590,11 @@ let methods = {
590590 let _currentIsAdd = this . currentAction == this . const . ADD ;
591591 if ( _currentIsAdd ) {
592592 //2020.12.06增加新建前异步处理方法
593- if ( ! this . addBefore ( formData ) || await ! this . addBeforeAsync ( formData ) ) return ;
593+ //2021.08.16修复异步语法写错的问题
594+ if ( ! this . addBefore ( formData ) || ! await this . addBeforeAsync ( formData ) ) return ;
594595 } else {
595596 //2020.12.06增加修改前异步处理方法
596- if ( ! this . updateBefore ( formData ) || await ! this . updateBeforeAsync ( formData ) ) return ;
597+ if ( ! this . updateBefore ( formData ) || ! await this . updateBeforeAsync ( formData ) ) return ;
597598 }
598599 let url = this . getUrl ( this . currentAction ) ;
599600 this . http . post ( url , formData , true ) . then ( x => {
Original file line number Diff line number Diff line change @@ -580,10 +580,11 @@ let methods = {
580580 let _currentIsAdd = this . currentAction == this . const . ADD ;
581581 if ( _currentIsAdd ) {
582582 //2020.12.06增加新建前异步处理方法
583- if ( ! this . addBefore ( formData ) || await ! this . addBeforeAsync ( formData ) ) return ;
583+ //2021.08.16修复异步语法写错的问题
584+ if ( ! this . addBefore ( formData ) || ! await this . addBeforeAsync ( formData ) ) return ;
584585 } else {
585586 //2020.12.06增加修改前异步处理方法
586- if ( ! this . updateBefore ( formData ) || await ! this . updateBeforeAsync ( formData ) ) return ;
587+ if ( ! this . updateBefore ( formData ) || ! await this . updateBeforeAsync ( formData ) ) return ;
587588 }
588589 let url = this . getUrl ( this . currentAction ) ;
589590 this . http . post ( url , formData , true ) . then ( x => {
You can’t perform that action at this time.
0 commit comments