Explorar o código

增加返回按钮

jwyu %!s(int64=2) %!d(string=hai) anos
pai
achega
f1128a7588
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      src/router/index.js

+ 4 - 2
src/router/index.js

@@ -444,7 +444,8 @@ const routes=[
         meta: {
           title: "搜索",
           keepAlive:true,
-          isRoot:false
+          isRoot:false,
+          hasBack:true
         }
       },
       {
@@ -454,7 +455,8 @@ const routes=[
         meta: {
           title: "图表详情",
           keepAlive:false,
-          isRoot:false
+          isRoot:false,
+          hasBack:true
         }
       }
     ]