去掉打印 和改接口地址

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
+2 -8
View File
@@ -155,10 +155,7 @@
handleSearch() {
var that = this
if (this.searchKeyword) {
console.log(this.searchKeyword)
this.filteredOptions = this.areaList1.filter((item) => item.name.includes(this.searchKeyword));
console.log(this.filteredOptions)
} else {
// 如果搜索框为空,显示全部数据
this.filteredOptions = this.areaList1;
@@ -170,8 +167,6 @@
// this.searchKeyword = item.name
this.actives = item.id
// this.showPicker = false; // 关闭弹窗
console.log("选中的值:", item.id);
console.log("选中的值:", item.name);
},
arerfn(){
this.showPicker = false; // 关闭弹窗
@@ -235,7 +230,8 @@
uploadfn(imgUrl,name,name1){
var that = this;
uni.uploadFile({
url: 'http://219.157.255.213:9007/upload/uploadImage',
// url: 'https://api.fcrm.hnxinyouhe.com/upload/uploadImage',
url: 'https://crm-server.smt.hnxinyouhe.com/upload/uploadImage',
filePath: imgUrl,
name: 'files',
header:{'Authorization': 'Bearer ' + uni.getStorageSync('token')},
@@ -249,7 +245,6 @@
}else{
that.userinfo[name1] = path.data.image_url
that.userinfo[name] = path.data.path
console.log(that.form)
}
}
});
@@ -277,7 +272,6 @@
uni.navigateBack({})
},
bcFn(){
console.log(this.userinfo)
request({
url:'user/save',
method:'POST',