|
|
@@ -14,7 +14,8 @@ Page({
|
|
|
modalText: "位置",
|
|
|
cw: '',
|
|
|
ch: '',
|
|
|
- disabled: false
|
|
|
+ disabled: false,
|
|
|
+ imgCache:''
|
|
|
},
|
|
|
takeBill() {
|
|
|
if (this.data.disabled) return
|
|
|
@@ -83,6 +84,9 @@ Page({
|
|
|
// url: `/pages/takeBill/success/success?src=${src}&path=${path}`
|
|
|
// })
|
|
|
// return
|
|
|
+ this.setData({
|
|
|
+ imgCache:e.tempFilePath
|
|
|
+ })
|
|
|
let res = await uploadFile(e.tempFilePath, {
|
|
|
type: 0,
|
|
|
userId: wx.getStorageSync('userId'),
|