From 204ab8457dbe617382b2d99662211b35cd75995b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E6=A3=9A?= <849005670@qq.com> Date: Sat, 27 Nov 2021 18:09:13 +0800 Subject: [PATCH] Update list.js --- src/pages/exchangecode/list/list.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/exchangecode/list/list.js b/src/pages/exchangecode/list/list.js index 32757ded..06cd1b54 100644 --- a/src/pages/exchangecode/list/list.js +++ b/src/pages/exchangecode/list/list.js @@ -198,6 +198,7 @@ export default class acclist extends React.Component{ } //作废 delFn(e,row){ + let self = this Sweetalert.confirm({ type:'warning', closeBtn:true, @@ -208,7 +209,7 @@ export default class acclist extends React.Component{ handelResponse(res,(response,msg)=>{ Notify.clear(); Notify.success(msg); - this.getCodeListFn(); + self.getCodeListFn(); },(err)=>{