浏览代码

fix: 去掉测试代码

HOME\tianlin01 11 月之前
父节点
当前提交
da6b072bfe
共有 2 个文件被更改,包括 2 次插入9 次删除
  1. 2 2
      src/router/index.js
  2. 0 7
      src/views/dashboard/Dashboard.vue

+ 2 - 2
src/router/index.js

@@ -10,7 +10,7 @@ import {
 } from '@/constant'
 import Layout from '@/layout'
 import Solo from '@/layout/Solo'
-import i18n from '@/language'
+// import i18n from '@/language'
 
 Vue.use(Router)
 
@@ -51,7 +51,7 @@ export const asyncRoutes = [
     path: '/',
     redirect: '/home',
     component: Layout,
-    meta: { title: i18n.t('首页'), icon: 'home' },
+    meta: { title: '首页', icon: 'home' },
     children: [
       {
         path: 'home',

+ 0 - 7
src/views/dashboard/Dashboard.vue

@@ -16,13 +16,6 @@
       :status="status"
       :total="total"
     />
-    <div>{{ $t('home.title') }}</div>
-    <div @click="toZh">
-      中文
-    </div>
-    <div @click="toEN">
-      英文
-    </div>
   </wrapper>
 </template>