From f000810ccfa179b2917e11339049ce288e4bb2ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9C=E6=80=80=E7=A3=8A=E2=80=9D?= <2280131253@qq.com> Date: Thu, 4 Nov 2021 17:59:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96UpdateToken=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=EF=BC=9A=E5=88=9B=E5=BB=BA=E6=97=B6=E7=9B=B4=E6=8E=A5?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E8=BE=93=E5=85=A5=E6=A1=86=E5=92=8C=E9=98=B2?= =?UTF-8?q?=E6=AD=A2=E6=B5=8F=E8=A7=88=E5=99=A8=E8=87=AA=E5=8A=A8=E5=A1=AB?= =?UTF-8?q?=E5=85=85=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FormFields/UpdateToken.vue | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/components/FormFields/UpdateToken.vue b/src/components/FormFields/UpdateToken.vue index 8fd5fe277..d0cdf7e70 100644 --- a/src/components/FormFields/UpdateToken.vue +++ b/src/components/FormFields/UpdateToken.vue @@ -1,7 +1,17 @@ @@ -33,6 +43,11 @@ export default { curValue: this.value } }, + created() { + if (this.$route.path.indexOf('/create') !== -1) { + this.isShow = true + } + }, methods: { onChange(e) { this.$emit('input', this.curValue)