@@ -42,7 +42,7 @@ export default {
mounted() {
this.getAllPanel()
if (this.panels.length) {
- this.active = this.panels[0].child?.name
+ this.active = this.$route.query[this.searchKey] || this.panels[0].child?.name
}
@@ -13,7 +13,7 @@
<el-form-item
prop="input2"
>
- <el-input v-model="form.input2" placeholder="请输入内容2"/>
+ <el-input type="number" v-model="form.input2" placeholder="请输入内容2"/>
</el-form-item>
<el-form-item prop="region">
<el-select v-model="form.region" placeholder="请选择活动区域">