cr лет назад: 4
Родитель
Сommit
dd7eedd558
5 измененных файлов с 11 добавлено и 11 удалено
  1. 2 2
      .env
  2. 2 2
      .env.develop
  3. 2 2
      .env.production
  4. 2 2
      src/pages/manage/edit-good-form.vue
  5. 3 3
      src/pages/manage/index.vue

+ 2 - 2
.env

@@ -7,13 +7,13 @@ NODE_ENV = 'production'
7
 VUE_APP_ENV = develop
7
 VUE_APP_ENV = develop
8
 
8
 
9
 # 接口请求基地址
9
 # 接口请求基地址
10
-VUE_APP_API_BASE_URL = http://localhost:8076
10
+VUE_APP_API_BASE_URL = https://delivery.ixiaokejia.com
11
 
11
 
12
 # 接口请求基地址
12
 # 接口请求基地址
13
 VUE_APP_WEBSOCKET_BASE_URL = 
13
 VUE_APP_WEBSOCKET_BASE_URL = 
14
 
14
 
15
 # 图片基地址
15
 # 图片基地址
16
-VUE_APP_IMAGE_BASE_URL = http://localhost:8076
16
+VUE_APP_IMAGE_BASE_URL = https://delivery.ixiaokejia.com
17
 VUE_APP_IMAGE_RESOURCE_URL = https://oss.ixiaokejia.com
17
 VUE_APP_IMAGE_RESOURCE_URL = https://oss.ixiaokejia.com
18
 
18
 
19
 # 微信小程序appId
19
 # 微信小程序appId

+ 2 - 2
.env.develop

@@ -7,13 +7,13 @@ NODE_ENV = 'production'
7
 VUE_APP_ENV = production
7
 VUE_APP_ENV = production
8
 
8
 
9
 # 接口请求基地址
9
 # 接口请求基地址
10
-VUE_APP_API_BASE_URL = http://localhost:8076
10
+VUE_APP_API_BASE_URL = https://delivery.ixiaokejia.com
11
 
11
 
12
 # 接口请求基地址
12
 # 接口请求基地址
13
 VUE_APP_WEBSOCKET_BASE_URL = 
13
 VUE_APP_WEBSOCKET_BASE_URL = 
14
 
14
 
15
 # 图片基地址
15
 # 图片基地址
16
-VUE_APP_IMAGE_BASE_URL = http://localhost:8076
16
+VUE_APP_IMAGE_BASE_URL = https://delivery.ixiaokejia.com
17
 VUE_APP_IMAGE_RESOURCE_URL = https://oss.ixiaokejia.com
17
 VUE_APP_IMAGE_RESOURCE_URL = https://oss.ixiaokejia.com
18
 
18
 
19
 # 微信小程序appId
19
 # 微信小程序appId

+ 2 - 2
.env.production

@@ -7,13 +7,13 @@ NODE_ENV = 'production'
7
 VUE_APP_ENV = production
7
 VUE_APP_ENV = production
8
 
8
 
9
 # 接口请求基地址
9
 # 接口请求基地址
10
-VUE_APP_API_BASE_URL = http://localhost:8076
10
+VUE_APP_API_BASE_URL = https://delivery.ixiaokejia.com
11
 
11
 
12
 # 接口请求基地址
12
 # 接口请求基地址
13
 VUE_APP_WEBSOCKET_BASE_URL = 
13
 VUE_APP_WEBSOCKET_BASE_URL = 
14
 
14
 
15
 # 图片基地址
15
 # 图片基地址
16
-VUE_APP_IMAGE_BASE_URL = http://localhost:8076
16
+VUE_APP_IMAGE_BASE_URL = https://delivery.ixiaokejia.com
17
 VUE_APP_IMAGE_RESOURCE_URL = https://oss.ixiaokejia.com
17
 VUE_APP_IMAGE_RESOURCE_URL = https://oss.ixiaokejia.com
18
 
18
 
19
 # 微信小程序appId
19
 # 微信小程序appId

+ 2 - 2
src/pages/manage/edit-good-form.vue

@@ -1118,7 +1118,7 @@ export default {
1118
             if (this.specIndex === 0) {
1118
             if (this.specIndex === 0) {
1119
                 for (let item of requiredSku) {
1119
                 for (let item of requiredSku) {
1120
                     if (item.type === "array") {
1120
                     if (item.type === "array") {
1121
-                        if (this.productForm[item.key].length === 0) {
1121
+                        if (this.baseInfo[item.key].length === 0) {
1122
                             return this.fn.showToast(item.msg);
1122
                             return this.fn.showToast(item.msg);
1123
                         }
1123
                         }
1124
                     } else if (item.type === "number") {
1124
                     } else if (item.type === "number") {
@@ -1128,7 +1128,7 @@ export default {
1128
                             }
1128
                             }
1129
                         }
1129
                         }
1130
                     } else {
1130
                     } else {
1131
-                        if (!this.productForm[item.key]) {
1131
+                        if (!this.baseInfo[item.key]) {
1132
                             return this.fn.showToast(item.msg);
1132
                             return this.fn.showToast(item.msg);
1133
                         }
1133
                         }
1134
                     }
1134
                     }

+ 3 - 3
src/pages/manage/index.vue

@@ -44,18 +44,18 @@
44
                 ></my-image>
44
                 ></my-image>
45
                 <span class="text">分类管理</span>
45
                 <span class="text">分类管理</span>
46
             </li>
46
             </li>
47
-            <li class="item" @click="jump('/pages/manage/statistics')">
47
+            <!-- <li class="item" @click="jump('/pages/manage/statistics')">
48
                 <my-image
48
                 <my-image
49
                     class="img"
49
                     class="img"
50
                     src="/static/icon/statistics.png"
50
                     src="/static/icon/statistics.png"
51
                 ></my-image>
51
                 ></my-image>
52
                 <span class="text">数据统计</span>
52
                 <span class="text">数据统计</span>
53
-            </li>
53
+            </li> -->
54
         </ul>
54
         </ul>
55
 
55
 
56
         <button class="btn" @click="layout">退出登录</button>
56
         <button class="btn" @click="layout">退出登录</button>
57
 
57
 
58
-        <div class="ver">0.2.5</div>
58
+        <div class="ver">0.2.51</div>
59
     </div>
59
     </div>
60
 </template>
60
 </template>
61
 
61