去掉打印 和改接口地址
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user