From 5318ba921023ba7f9ca8cbd66b1e9143302f2da0 Mon Sep 17 00:00:00 2001 From: Apple <> Date: Thu, 13 Oct 2022 10:26:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E3=80=90=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E8=90=A5=E9=94=80=E6=A8=A1=E6=9D=BF=E3=80=91=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E7=B1=BB=E5=9E=8B=E4=B8=8D=E5=90=8C=EF=BC=8C=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E6=97=B6=E4=BC=A0=E5=80=BC=E4=B8=8E=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E4=B8=8D=E5=8C=B9=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/exchangepage/edittemplate/main.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pages/exchangepage/edittemplate/main.js b/src/pages/exchangepage/edittemplate/main.js index d2bdbb12..f62eed00 100644 --- a/src/pages/exchangepage/edittemplate/main.js +++ b/src/pages/exchangepage/edittemplate/main.js @@ -350,7 +350,10 @@ export default class edittemplate extends React.Component { //系统模板 this.setState({ activeNavStatus: 1 }) if (this.state.showType != 3) { - this.onmodelChange({ target: { value: 3 } }) + Notify.clear(); + Notify.error('请切换至兑换码保存') + self.setState({ loading_visible: false }) + return } } this.canvasImg.style.display = 'block'