去掉打印 和改接口地址
This commit is contained in:
@@ -101,7 +101,7 @@
|
||||
});
|
||||
|
||||
// 2. 返回临时路径(可直接用于 <image> 显示)
|
||||
console.log('下载成功,临时路径:', tempFilePath);
|
||||
// console.log('下载成功,临时路径:', tempFilePath);
|
||||
if(item =='imageSrc'){
|
||||
this.imageSrc = tempFilePath;
|
||||
}else{
|
||||
@@ -109,7 +109,7 @@
|
||||
}
|
||||
|
||||
} catch (err) {
|
||||
console.error('下载失败:', err);
|
||||
// console.error('下载失败:', err);
|
||||
throw new Error('图片下载失败');
|
||||
}
|
||||
},
|
||||
@@ -156,7 +156,7 @@
|
||||
if (res.confirm) {
|
||||
that.downloadImage(baseImg,canvas);
|
||||
} else if (res.cancel) {
|
||||
console.log('用户点击取消');
|
||||
// console.log('用户点击取消');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
recycle:'recycle'
|
||||
}
|
||||
}).then(res => {
|
||||
console.log(res.data)
|
||||
if(res.data.code ==0){
|
||||
var datas = res.data.data.list;
|
||||
this.$refs.paging.complete(datas);
|
||||
|
||||
@@ -130,7 +130,6 @@
|
||||
})
|
||||
},
|
||||
getVcode() {
|
||||
console.log(this.email)
|
||||
if(this.email==''){
|
||||
uni.showToast({
|
||||
title:this.$t('emailerr'),
|
||||
@@ -161,7 +160,6 @@
|
||||
email: this.email,
|
||||
}
|
||||
}).then(res => {
|
||||
console.log(res.data.data)
|
||||
uni.showToast({
|
||||
title:res.data.message,
|
||||
icon: 'none'
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
per_page:10,
|
||||
}
|
||||
}).then(res => {
|
||||
console.log(res.data)
|
||||
if(res.data.code ==0){
|
||||
var datas = res.data.data.data;
|
||||
this.$refs.paging.complete(datas);
|
||||
|
||||
@@ -77,7 +77,6 @@
|
||||
uni.navigateBack({})
|
||||
},
|
||||
bcFn(){
|
||||
console.log(this.userinfo)
|
||||
request({
|
||||
url:'daily/save',
|
||||
method:'POST',
|
||||
|
||||
Reference in New Issue
Block a user