邓洁 : 注释log
This commit is contained in:
@@ -179,7 +179,7 @@
|
||||
this[`fileList${event.name}`].splice(event.index, 1)
|
||||
},
|
||||
preview(e) {
|
||||
console.log('预览', e);
|
||||
// console.log('预览', e);
|
||||
},
|
||||
// 新增图片
|
||||
async afterRead(event) {
|
||||
@@ -233,12 +233,12 @@
|
||||
if (this.fileList1.length > 0) {
|
||||
this.fileList1.map(item => {
|
||||
const url = item.url
|
||||
console.log('url', url, this.$api.imgUrl);
|
||||
// console.log('url', url, this.$api.imgUrl);
|
||||
temp.push(url.replace(this.$api.imgUrl, ''))
|
||||
|
||||
})
|
||||
}
|
||||
console.log('images---', temp.join(','));
|
||||
// console.log('images---', temp.join(','));
|
||||
if (this.form.latitude && this.form.longitude) {
|
||||
console.log('经纬度都存在');
|
||||
} else {
|
||||
@@ -252,9 +252,9 @@
|
||||
region: this.form.region.split('-')[0],
|
||||
images: temp.join(',')
|
||||
}
|
||||
console.log('提交表单信息', data);
|
||||
// console.log('提交表单信息', data);
|
||||
this.$api.publishTransfer(data).then(res => {
|
||||
console.log('发布店铺转让', res);
|
||||
// console.log('发布店铺转让', res);
|
||||
if (res.data.code == 1) {
|
||||
uni.$u.toast(res.data.msg)
|
||||
uni.reLaunch({
|
||||
@@ -351,7 +351,7 @@
|
||||
url: 'https://apis.map.qq.com/ws/geocoder/v1/?address=' + that.form.region + value + '&key=' +
|
||||
that.$api.key,
|
||||
success(res) {
|
||||
console.log('地址转经纬度', that.form.region, res.data);
|
||||
// console.log('地址转经纬度', that.form.region, res.data);
|
||||
if (res.data.message == "query ok") {
|
||||
// console.log('lat', res.data.result.location.lat);
|
||||
that.form.latitude = res.data.result.location.lat
|
||||
@@ -376,12 +376,12 @@
|
||||
picker = this.$refs.uPicker
|
||||
} = e
|
||||
// 当第一列值发生变化时,变化第二列(后一列)对应的选项
|
||||
console.log(e);
|
||||
// console.log(e);
|
||||
if (columnIndex === 0) {
|
||||
// picker为选择器this实例,变化第二列对应的选项
|
||||
this.ClassCheckId = this.pid[index]
|
||||
this.$api.getClassList(this.ClassCheckId).then(res => {
|
||||
console.log(res);
|
||||
// console.log(res);
|
||||
this.Karmacolumns = res.data.data.map((item) => {
|
||||
return item = item.name
|
||||
})
|
||||
@@ -403,9 +403,9 @@
|
||||
this.form.region = e.value[0] + '-' + e.value[1]
|
||||
},
|
||||
getDetail(type, id) {
|
||||
console.log('type, id', type, id);
|
||||
// console.log('type, id', type, id);
|
||||
this.$api.getShopDetail(type, id).then(res => {
|
||||
console.log(',re', res);
|
||||
// console.log(',re', res);
|
||||
const data = res.data.data
|
||||
if (res.data.code == 1) {
|
||||
this.form = {
|
||||
@@ -447,7 +447,7 @@
|
||||
this.$refs.uForm.setRules(this.rules)
|
||||
},
|
||||
onLoad(options) {
|
||||
console.log('修改转让', options);
|
||||
// console.log('修改转让', options);
|
||||
if (options.item) {
|
||||
console.log('修改');
|
||||
if (options.id) {
|
||||
|
||||
Reference in New Issue
Block a user