File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -266,9 +266,9 @@ export default {
266
266
cancelButtonText: ' 取消' ,
267
267
type: ' warning'
268
268
}).then (function () {
269
- toProjectTableCheckRole (row .tableId , false ). then ( response => {
270
- this . msgSuccess ( response . msg )
271
- } )
269
+ return toProjectTableCheckRole (row .tableId , false )
270
+ }). then (( response ) => {
271
+ this . msgSuccess ( response . msg )
272
272
}).catch (function () {})
273
273
},
274
274
handleToProjectCheckRole (row ) {
@@ -277,9 +277,9 @@ export default {
277
277
cancelButtonText: ' 取消' ,
278
278
type: ' warning'
279
279
}).then (function () {
280
- toProjectTableCheckRole (row .tableId , true ). then ( response => {
281
- this . msgSuccess ( response . msg )
282
- } )
280
+ return toProjectTableCheckRole (row .tableId , true )
281
+ }). then (( response ) => {
282
+ this . msgSuccess ( response . msg )
283
283
}).catch (function () {})
284
284
},
285
285
handleToDB (row ) {
@@ -288,9 +288,9 @@ export default {
288
288
cancelButtonText: ' 取消' ,
289
289
type: ' warning'
290
290
}).then (function () {
291
- toDBTable (row .tableId ). then ( response => {
292
- this . msgSuccess ( response . msg )
293
- } )
291
+ return toDBTable (row .tableId )
292
+ }). then (( response ) => {
293
+ this . msgSuccess ( response . msg )
294
294
}).catch (function () {})
295
295
},
296
296
// 多选框选中数据
You can’t perform that action at this time.
0 commit comments