Explorar el Código

修改编辑款出问题情况

aaa hace 3 años
padre
commit
ce84b03ce5
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/components/layout/components/Sider.vue

+ 2 - 1
src/components/layout/components/Sider.vue

@@ -149,7 +149,8 @@ export default {
     handleMenuRouterFun(item) {
       // 路径相同就刷新,否则就跳转
       if (this.$route.path === item.path) {
-        this.$emit('reload');
+        // 如果是相同页面就不做处理(新建文章页面 编辑框会出问题)
+        // this.$emit('reload');
       } else {
         this.$router.push({ path: item.path });
       }