gepangpang 10 months ago
parent
commit
2657dec200
2 changed files with 2 additions and 2 deletions
  1. 1 1
      package.json
  2. 1 1
      src/utils/request.ts

+ 1 - 1
package.json

@@ -10,7 +10,7 @@
     "zip": "tar -cvf dist.zip dist",
     "del": "rmdir /S /Q dist",
     "publish": "vue-tsc && vite build && npm run upload && npm run del",
-    "upload": "scp -r dist root@18.183.171.81:/home/ubuntu/html"
+    "upload": "scp -r dist root@57.180.248.115:/home/ubuntu/price_collect"
   },
   "dependencies": {
     "@layui/layui-vue": "^2.13.0",

+ 1 - 1
src/utils/request.ts

@@ -43,7 +43,7 @@ class HttpRequest {
   }
 
   request(url: string, method: string, data: any, responseType?: any) {
-    const token = window.sessionStorage.getItem("_4L_TOKEN") || "";
+    // const token = window.sessionStorage.getItem("_4L_TOKEN") || "";
     switch (method) {
       case "get":
         data = { params: data };