diff options
| author | zyh <[email protected]> | 2024-01-17 16:57:28 +0800 |
|---|---|---|
| committer | zyh <[email protected]> | 2024-01-17 16:57:28 +0800 |
| commit | 4bb6d027fe2d41ef0e8b46aa6c965cb0df69736b (patch) | |
| tree | f67b5ef245fe3e54023b42dd213938e18c7b44d1 | |
| parent | 6b5696e659f48568768f899a0a45f6128862948a (diff) | |
fix: 修复setup点击back step高亮未同步rel-24.01.01
| -rw-r--r-- | nezha-fronted/src/components/page/config/setup.vue | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nezha-fronted/src/components/page/config/setup.vue b/nezha-fronted/src/components/page/config/setup.vue index 0c0a34463..111919a9c 100644 --- a/nezha-fronted/src/components/page/config/setup.vue +++ b/nezha-fronted/src/components/page/config/setup.vue @@ -389,12 +389,14 @@ export default { switch (step) { case 0: this.activeStep = 0 + this.step = 0 break case 1: if (this.prevent_next) { return } this.prevent_next = true if (this.activeStep > 1) { this.activeStep = 1 + this.step = 1 this.prevent_next = false } else { this.getValidateCode() @@ -430,6 +432,7 @@ export default { this.prevent_next = true if (this.activeStep > 2) { this.activeStep = 2 + this.step = 2 this.prevent_next = false } else { this.$refs['db-form'].validate((valid) => { |
