[去掉所有console和替换所有积分换成贡献值]
This commit is contained in:
@@ -87,7 +87,6 @@
|
||||
methods: {
|
||||
// 预览上传图片
|
||||
priviewImg(index) {
|
||||
console.log(index, this.pictures.showpath)
|
||||
uni.previewImage({
|
||||
current: index,
|
||||
urls: this.pictures.showpath
|
||||
@@ -97,7 +96,6 @@
|
||||
updImgs(type) {
|
||||
uni.chooseImage({
|
||||
success: res => {
|
||||
console.log(res)
|
||||
let path = res.tempFiles.map((val, index) => {
|
||||
return {
|
||||
name: 'uploads' + index,
|
||||
@@ -105,12 +103,10 @@
|
||||
}
|
||||
})
|
||||
uploads(path).then(pathRes => {
|
||||
// console.log(pathRes)
|
||||
this.pictures = {
|
||||
path: [...this.pictures.path, ...pathRes.path],
|
||||
showpath: [...this.pictures.showpath, ...pathRes.url]
|
||||
}
|
||||
console.log(this.pictures)
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
@@ -122,11 +118,8 @@
|
||||
},
|
||||
// 删除图片
|
||||
closeImg(index) {
|
||||
console.log(index)
|
||||
this.pictures.path.splice(index, 1)
|
||||
this.pictures.showpath.splice(index, 1)
|
||||
|
||||
console.log(this.pictures);
|
||||
},
|
||||
// 获取退货的基本信息
|
||||
getInfo(shipment_no) {
|
||||
@@ -139,7 +132,6 @@
|
||||
}
|
||||
lists.push(items)
|
||||
})
|
||||
console.log(lists)
|
||||
this.list = lists
|
||||
}).catch(err => {
|
||||
this.$refs.uToast.show({
|
||||
@@ -182,7 +174,6 @@
|
||||
success: (res) => {
|
||||
if (res.confirm) {
|
||||
mallShipmentsRefund(data).then(res => {
|
||||
console.log(res)
|
||||
this.$refs.uToast.show({
|
||||
title: res,
|
||||
type: 'error',icon:false,
|
||||
|
||||
Reference in New Issue
Block a user