From a7654b4071e1caa9b81bdf91fd6add0873cac7a0 Mon Sep 17 00:00:00 2001 From: cjl520cy <8149487+cy250cy-520@user.noreply.gitee.com> Date: Thu, 16 Apr 2026 18:19:07 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/shop/add-service.vue | 2 +- utils/request.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/shop/add-service.vue b/pages/shop/add-service.vue index 3e7c7d9..74b3a03 100644 --- a/pages/shop/add-service.vue +++ b/pages/shop/add-service.vue @@ -600,7 +600,7 @@ this.categoryAll = result.data; this.categoryAll.filter((e, i) => { if (e.id == this.formData.second_class_id) { - this.selectedCategoryIndex = i; + this.selectedCategoryIndex = [i]; this.category = e.title; } }); diff --git a/utils/request.js b/utils/request.js index ff89727..6f162aa 100644 --- a/utils/request.js +++ b/utils/request.js @@ -135,7 +135,7 @@ const request = async (options, isUpdate) => { if (process.env.NODE_ENV === 'development') { baseURL = url; // 发布到生产环境时,此处代码会被摇树移除掉。 - baseURL = 'http://60.247.146.5:93'; // 发布到生产环境时,此处代码会被摇树移除掉。 + //baseURL = 'http://60.247.146.5:93'; // 发布到生产环境时,此处代码会被摇树移除掉。 //baseURL = 'http://60.247.146.5:96'; // 发布到生产环境时,此处代码会被摇树移除掉。 //baseURL = 'https://app.mrrweb.com.cn'; } else {