src/views/hiddenDangerRegistration/index.vue
@@ -210,7 +210,7 @@ size="small" >批量发送</el-button > <el-button class="btns" type="primary" icon="el-icon-plus" size="small" <el-button class="btns" @click="jump" type="primary" icon="el-icon-plus" size="small" >添加</el-button > <el-button size="small" @@ -302,7 +302,6 @@ data() { return { form: {}, radio1: "上海", options: [ { value: "选项1", @@ -331,6 +330,13 @@ currentPage: 1, }; }, methods:{ jump(){ this.$router.push({ path:"/hiddenDangerAdd" }) } } }; </script> <style>