gepangpang 10 月之前
父節點
當前提交
2657dec200
共有 2 個文件被更改,包括 2 次插入2 次删除
  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 };