瀏覽代碼

新增 区块链页面

wzh 3 年之前
父節點
當前提交
36ca7039c4
共有 3 個文件被更改,包括 9 次插入1 次删除
  1. 8 0
      src/router/index.js
  2. 0 0
      src/views/index/Blockchain.vue
  3. 1 1
      src/views/index/Versions.vue

+ 8 - 0
src/router/index.js

@@ -129,6 +129,14 @@ const router = createRouter({
       },
       component: () => import("../views/index/Versions.vue"),
     },
+    {
+      path: "/blockchain",
+      name: "blockchain",
+      meta: {
+        title: "汇很多科技区块链",
+      },
+      component: () => import("../views/index/Blockchain.vue"),
+    },
   ],
 });
 

+ 0 - 0
src/views/index/Blockchain.vue


+ 1 - 1
src/views/index/Versions.vue

@@ -166,6 +166,7 @@
 </template>
 
 <script setup>
+import { reactive, ref, onMounted } from "vue";
 import { AnonymousLogin, tcb } from "apis/cloudLogin";
 import _ from "lodash";
 import { ElMessage, ElMessageBox } from "element-plus";
@@ -174,7 +175,6 @@ const db = tcb.database();
 const v = db.collection("huihenduo_versions");
 const __ = db.command;
 
-import { reactive, ref, onMounted } from "vue";
 let versions = ref([]);
 let isModalVisable = ref(false);
 let ruleFormRef = ref(null);