src/views/education/subject/list.vue
@@ -9,9 +9,9 @@ </el-form-item> <el-form-item> <el-button type="primary" @click="submitForm">查询</el-button> <router-link :to="{path:'/education/subject/edit'}" class="link-left"> <!-- <router-link :to="{path:'/education/subject/edit'}" class="link-left"> <el-button type="primary">添加</el-button> </router-link> </router-link> --> </el-form-item> </el-form>