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)