邓洁 : 注释log
This commit is contained in:
@@ -181,7 +181,7 @@
|
||||
this[`fileList${event.name}`].splice(event.index, 1)
|
||||
},
|
||||
preview(e) {
|
||||
console.log('预览', e);
|
||||
// console.log('预览', e);
|
||||
},
|
||||
// 新增图片
|
||||
async afterRead(event) {
|
||||
@@ -196,9 +196,9 @@
|
||||
})
|
||||
})
|
||||
for (let i = 0; i < lists.length; i++) {
|
||||
console.log('lists[i].url', lists[i].url);
|
||||
// console.log('lists[i].url', lists[i].url);
|
||||
const result = await this.uploadFilePromise(lists[i].url)
|
||||
console.log('result', result);
|
||||
// console.log('result', result);
|
||||
let item = this[`fileList${event.name}`][fileListLen]
|
||||
this[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {
|
||||
status: 'success',
|
||||
@@ -252,9 +252,9 @@
|
||||
region: this.form.region.split('-')[0],
|
||||
images: temp.join(',')
|
||||
}
|
||||
console.log("提交表单信息:", data)
|
||||
// console.log("提交表单信息:", data)
|
||||
this.$api.publishRent(data).then(res => {
|
||||
console.log('发布店铺出租', res);
|
||||
// console.log('发布店铺出租', res);
|
||||
if (res.data.code == 1) {
|
||||
uni.$u.toast(res.data.msg)
|
||||
uni.reLaunch({
|
||||
@@ -350,7 +350,7 @@
|
||||
url: 'https://apis.map.qq.com/ws/geocoder/v1/?address=' + that.form.region + value + '&key=' +
|
||||
that.$api.key,
|
||||
success(res) {
|
||||
console.log('diz', res.data.result.location);
|
||||
// console.log('diz', res.data.result.location);
|
||||
if (res.data.message == "query ok") {
|
||||
// console.log('lat', res.data.result.location.lat);
|
||||
that.form.latitude = res.data.result.location.lat
|
||||
@@ -375,12 +375,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
|
||||
})
|
||||
@@ -402,9 +402,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 @@
|
||||
|
||||
},
|
||||
onLoad(options) {
|
||||
console.log('修改出租', options);
|
||||
// console.log('修改出租', options);
|
||||
if (options.item) {
|
||||
console.log('修改');
|
||||
if (options.id) {
|
||||
|
||||
Reference in New Issue
Block a user