去除打印,抄表路线支持所有园区,支持部分选择框清除内容
This commit is contained in:
@@ -114,6 +114,7 @@ Page({
|
||||
await that.init();
|
||||
this.setData({
|
||||
mode: null,
|
||||
modeName: null,
|
||||
days: null,
|
||||
reason: null,
|
||||
url: null,
|
||||
@@ -130,7 +131,6 @@ Page({
|
||||
mediaType: ['image'],
|
||||
sourceType: ['album', 'camera'],
|
||||
success: async function(res) {
|
||||
console.log("res", res)
|
||||
const path = res.tempFiles?.[0]?.tempFilePath.toLowerCase()
|
||||
if (!/(\.jpg|\.png|\.jpeg)$/.test(path)) {
|
||||
wx.showToast({
|
||||
|
||||
Reference in New Issue
Block a user