Browse Source

zbytest003-2025-02-18 07:43:49

genlitex 3 tháng trước cách đây
mục cha
commit
6f9b63b7a0
4 tập tin đã thay đổi với 8 bổ sung7 xóa
  1. 4 0
      dist/assets/index-BTwqBBvJ.js
  2. 0 4
      dist/assets/index-DzDDFypf.js
  3. 1 1
      dist/index.html
  4. 3 2
      src/router/index.js

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 4 - 0
dist/assets/index-BTwqBBvJ.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 4
dist/assets/index-DzDDFypf.js


+ 1 - 1
dist/index.html

@@ -4,7 +4,7 @@
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title>Prototype Design</title>
-    <script type="module" crossorigin src="/ide/proxy/6009/assets/index-DzDDFypf.js"></script>
+    <script type="module" crossorigin src="/ide/proxy/6009/assets/index-BTwqBBvJ.js"></script>
     <link rel="stylesheet" crossorigin href="/ide/proxy/6009/assets/index-BDKsOMUa.css">
   </head>
   <body>

+ 3 - 2
src/router/index.js

@@ -15,8 +15,9 @@ const routes = [
   }
 ]
 
-export default new Router({
+const router = createRouter({
+  history: createWebHashHistory(location.pathname),
   routes
 })
 
-// Remove the duplicate default export
+export default router

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác