Browse Source

修改导航池id

修改导航池id
dangyunlong 1 month ago
parent
commit
5448956142

+ 1 - 1
.nuxt/manifest/latest.json

@@ -1 +1 @@
-{"id":"b76a7bed-7a58-485d-9a57-8cafaa2d41da","timestamp":1747718031769}
+{"id":"b8a98cbf-5b31-4726-ad33-6d1702c28965","timestamp":1749774535977}

+ 0 - 1
.nuxt/manifest/meta/b76a7bed-7a58-485d-9a57-8cafaa2d41da.json

@@ -1 +0,0 @@
-{"id":"b76a7bed-7a58-485d-9a57-8cafaa2d41da","timestamp":1747718031769,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

+ 1 - 0
.nuxt/manifest/meta/b8a98cbf-5b31-4726-ad33-6d1702c28965.json

@@ -0,0 +1 @@
+{"id":"b8a98cbf-5b31-4726-ad33-6d1702c28965","timestamp":1749774535977,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

+ 1 - 1
.nuxt/tsconfig.json

@@ -102,7 +102,7 @@
         "./imports"
       ],
       "#app-manifest": [
-        "./manifest/meta/b76a7bed-7a58-485d-9a57-8cafaa2d41da.json"
+        "./manifest/meta/b8a98cbf-5b31-4726-ad33-6d1702c28965.json"
       ],
       "#components": [
         "./components"

+ 4 - 4
plugins/category.ts

@@ -10,7 +10,7 @@ const navMaster: number[] = [
     533,
     536,
     504,
-    500,
+    508,
     503
 ]
 
@@ -24,13 +24,13 @@ const navPre: number[] = [
     530,
     533,
     503,
-    149,
+    505,
     502
 ]
 
 export default defineNuxtPlugin((nuxtApp) => {
     //master 环境
-    nuxtApp.provide('pageNav', navMaster)
+    //nuxtApp.provide('pageNav', navMaster)
     //pre 环境
-    // nuxtApp.provide('pageNav', navPre)
+    nuxtApp.provide('pageNav', navPre)
 })

+ 10 - 10
plugins/globals.ts

@@ -1,17 +1,17 @@
 export default defineNuxtPlugin((nuxtApp) => {
   //农副产品供销网pre环境
-  // nuxtApp.provide('webUrl', 'http://apipre1.bjzxtw.org.cn:29501')
-  // nuxtApp.provide('CwebUrl', 'http://pre.nfcpgx.org.cn')
-  // nuxtApp.provide('BwebUrl', 'http://adminpre.bjzxtw.org.cn')
-  // nuxtApp.provide('LoginWebUrl', 'http://adminpre.bjzxtw.org.cn/adminapi')
-  // nuxtApp.provide('userUrl', 'http://localhost:3005')
+  nuxtApp.provide('webUrl', 'http://apipre1.bjzxtw.org.cn:29501')
+  nuxtApp.provide('CwebUrl', 'http://pre.nfcpgx.org.cn')
+  nuxtApp.provide('BwebUrl', 'http://adminpre.bjzxtw.org.cn')
+  nuxtApp.provide('LoginWebUrl', 'http://adminpre.bjzxtw.org.cn/adminapi')
+  nuxtApp.provide('userUrl', 'http://localhost:3005')
 
   // 农副产品供销网正式环境
-  nuxtApp.provide('webUrl', 'https://flzxw.bjzxtw.org.cn')
-  nuxtApp.provide('CwebUrl', 'http://nw.nfcpgx.org.cn')
-  nuxtApp.provide('BwebUrl', 'https://admin.bjzxtw.org.cn')
-  nuxtApp.provide('LoginWebUrl', 'http://admin.bjzxtw.org.cn/adminapi')
-  nuxtApp.provide('userUrl', 'http://localhost:3005')
+//   nuxtApp.provide('webUrl', 'https://flzxw.bjzxtw.org.cn')
+//   nuxtApp.provide('CwebUrl', 'http://nw.nfcpgx.org.cn')
+//   nuxtApp.provide('BwebUrl', 'https://admin.bjzxtw.org.cn')
+//   nuxtApp.provide('LoginWebUrl', 'http://admin.bjzxtw.org.cn/adminapi')
+//   nuxtApp.provide('userUrl', 'http://localhost:3005')
 
   // 农副产品供销网正式环境
   // nuxtApp.provide('webUrl', 'https://flzxw.bjzxtw.org.cn')

+ 4 - 4
plugins/request.ts

@@ -6,11 +6,11 @@ export default defineNuxtPlugin(() => {
 
     let Url = {
         //正式环境
-        webUrl: 'https://flzxw.bjzxtw.org.cn', //接口地址
-        CwebUrl: 'nw.nfcpgx.org.cn' //页面地址
+        // webUrl: 'https://flzxw.bjzxtw.org.cn', //接口地址
+        // CwebUrl: 'nw.nfcpgx.org.cn' //页面地址
         //pre环境
-        // webUrl: 'http://apipre1.bjzxtw.org.cn:29501', //pre接口地址
-        // CwebUrl: 'pre.nfcpgx.org.cn' //页面地址
+        webUrl: 'http://apipre1.bjzxtw.org.cn:29501', //pre接口地址
+        CwebUrl: 'pre.nfcpgx.org.cn' //页面地址
     }
 
     const service = axios.create({