liuyanpeng 2 lat temu
rodzic
commit
cf3838886b
2 zmienionych plików z 3 dodań i 3 usunięć
  1. 2 2
      package.json
  2. 1 1
      src/common/Common.js

+ 2 - 2
package.json

@@ -1,7 +1,7 @@
 {
   "name": "client-base-v4",
   "description": "Leanwo Prodog Client",
-  "version": "4.0.30",
+  "version": "4.0.31",
   "author": "yangzhijie1488 <yangzhijie1488@163.com>",
   "scripts": {
     "dev": "cross-env webpack serve --config ./webpack.dev.js",
@@ -21,7 +21,7 @@
     "dayjs": "^1.11.6",
     "dingtalk-jsapi": "^2.10.3",
     "moment": "^2.29.4",
-    "pc-component-v3": "1.0.75",
+    "pc-component-v3": "1.0.76",
     "qrcode": "^1.5.3",
     "uuid": "^8.3.2",
     "v-tooltip": "^4.0.0-beta.17",

+ 1 - 1
src/common/Common.js

@@ -70,7 +70,7 @@ export default {
 
   // 获取API的地址
   getApiURL: function (apiName) {
-    if(apiName.startsWith("/")){
+    if(apiName.startsWith('/')){
       return this.getHostPageBaseURL() + 'api' + apiName;
     }else{
       return this.getHostPageBaseURL() + 'api/' + apiName;