bug修改

This commit is contained in:
cjl520cy 2026-05-13 17:41:13 +08:00
parent a5180be20f
commit 4e21e22bdf
4 changed files with 18 additions and 13 deletions

View File

@ -2,8 +2,8 @@
"name" : "美融融商家",
"appid" : "__UNI__BBE6285",
"description" : "同城便捷到家美业“技术外卖”服务、同城预约到店服务平台美融融为同城爱美人群提供更优质的更全面的服务。",
"versionName" : "1.0.09",
"versionCode" : 1009,
"versionName" : "1.0.16",
"versionCode" : 1016,
"transformPx" : false,
/* 5+App */
"app-plus" : {

View File

@ -121,7 +121,8 @@
onLoad(options) {
console.log(options)
if(options.list){
this.list = JSON.parse(options.list)
const parsed = JSON.parse(options.list)
this.list = Array.isArray(parsed) ? parsed : []
console.log(this.list)
}
},

View File

@ -576,7 +576,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;
}
});
@ -913,6 +913,8 @@
this.formData.first_class_id = selectedType.id;
this.serviceType = selectedType.title;
this.ratio = selectedType.ratio;
this.formData.second_class_id = "";
this.category = "";
let id = selectedType.id;
request
.post("/user/secondclass", {
@ -926,6 +928,8 @@
this.categoryAll = res.data;
this.showCategory = true;
this.selectedCategoryIndex = [0];
// this.formData.second_class_id = res.data[0].id;
// this.category = res.data[0].title;
}
});
},

View File

@ -134,13 +134,13 @@ const request = async (options, isUpdate) => {
if (process.env.NODE_ENV === 'development') {
//baseURL = url; // 发布到生产环境时,此处代码会被摇树移除掉。
baseURL = 'http://60.247.146.5:93'; // 发布到生产环境时,此处代码会被摇树移除掉。
baseURL = url; // 发布到生产环境时,此处代码会被摇树移除掉。
//baseURL = 'http://60.247.146.5:93'; // 发布到生产环境时,此处代码会被摇树移除掉。
//baseURL = 'http://60.247.146.5:96'; // 发布到生产环境时,此处代码会被摇树移除掉。
//baseURL = 'https://app.mrrweb.com.cn';
} else {
//baseURL = url; // 发布到生产环境时,此处代码会被摇树移除掉。
baseURL = 'http://60.247.146.5:93'; // 发布到生产环境时,此处代码会被摇树移除掉。
baseURL = url; // 发布到生产环境时,此处代码会被摇树移除掉。
//baseURL = 'http://60.247.146.5:93'; // 发布到生产环境时,此处代码会被摇树移除掉。
//baseURL = 'http://60.247.146.5:96'; // 发布到生产环境时,此处代码会被摇树移除掉。
//baseURL = 'https://app.mrrweb.com.cn';