去掉打印 和改接口地址

This commit is contained in:
浅念
2025-06-09 17:58:22 +08:00
parent ce95205a7b
commit 7e7858cc8c
30 changed files with 156 additions and 164 deletions
-7
View File
@@ -208,13 +208,11 @@
this.area()
},
onShow() {
console.log(uni.getStorageSync('location'))
if(uni.getStorageSync('location')){
this.location = JSON.parse(uni.getStorageSync('location'))
this.form.address = this.location.address
this.form.lng = this.location.lng
this.form.lat = this.location.lat
console.log(this.location)
}
},
mounted() {
@@ -331,11 +329,9 @@
// 国家搜索处理函数
handleSearch() {
if (this.searchKeyword) {
console.log(this.searchKeyword)
this.filteredOptions = this.areaList.filter((item) =>
item.name.includes(this.searchKeyword)
);
console.log(this.filteredOptions)
} else {
// 如果搜索框为空,显示全部数据
this.filteredOptions = this.areaList;
@@ -345,8 +341,6 @@
handleSelect(item) {
this.selectedLabel = item.name; // 回显选中的值
this.actives = item.id
console.log("选中的值:", item.id);
console.log("选中的值:", item.name);
},
arerfn(){
this.showarea = false; // 关闭弹窗
@@ -368,7 +362,6 @@
});
return false
}
console.log(this.form)
request({
url:'customer/save',
method:'post',