li.shaoyi 3 سال پیش
والد
کامیت
252943a504
4فایلهای تغییر یافته به همراه7 افزوده شده و 7 حذف شده
  1. 1 1
      README.md
  2. 3 3
      package-lock.json
  3. 2 2
      package.json
  4. 1 1
      src/packages/pc/router/index.ts

+ 1 - 1
README.md

@@ -1,4 +1,4 @@
-# mtp3.0
+# mtp2_h5_plus
 
 ## Project setup
 ```

+ 3 - 3
package-lock.json

@@ -1,11 +1,11 @@
 {
-  "name": "mtp3.0",
+  "name": "mtp2_h5_plus",
   "version": "0.1.0",
   "lockfileVersion": 2,
   "requires": true,
   "packages": {
     "": {
-      "name": "mtp3.0",
+      "name": "mtp2_h5_plus",
       "version": "0.1.0",
       "dependencies": {
         "axios": "^0.26.1",
@@ -21769,4 +21769,4 @@
       }
     }
   }
-}
+}

+ 2 - 2
package.json

@@ -1,5 +1,5 @@
 {
-  "name": "mtp3.0",
+  "name": "mtp2_h5_plus",
   "version": "0.1.0",
   "private": true,
   "scripts": {
@@ -46,4 +46,4 @@
     "typescript": "~4.5.5",
     "vconsole": "^3.14.6"
   }
-}
+}

+ 1 - 1
src/packages/pc/router/index.ts

@@ -35,7 +35,7 @@ const router = createRouter({
 router.beforeEach((to, from, next) => {
     const isLoginOrRegister = to.name === 'login' || to.name === 'register';
     const title = to.meta.title;
-    document.title = title ? `MTP3.0 - ${title}` : 'MTP3.0';
+    document.title = title ? `MTP - ${title}` : 'MTP';
 
     // 判断服务是否加载完成
     if (getServiceIsComplete()) {