From 612dd4eac1b0471eaed33b32371d22bf28e377a3 Mon Sep 17 00:00:00 2001 From: qiaomu <3520484422@qq.com> Date: Sun, 28 Sep 2025 16:29:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/DateTimePicker/index.js | 1 - pages/invoiceDetail/index.js | 1 - pages/readingHistory/components/editModal/index.js | 2 -- pages/readingHistory/index.js | 1 - pages/writeReading/components/meterInfo/index.js | 1 - pages/writeReading/components/meterList/index.js | 3 --- pages/writeReading/components/photo/index.js | 2 -- pages/writeReading/components/readingInfo/index.js | 3 --- service/public.js | 1 - utils/request.js | 1 - 10 files changed, 16 deletions(-) diff --git a/components/DateTimePicker/index.js b/components/DateTimePicker/index.js index 04b5376..e0d3960 100644 --- a/components/DateTimePicker/index.js +++ b/components/DateTimePicker/index.js @@ -12,7 +12,6 @@ Component({ }, // observers: { // time: function(newValue) { - // console.log("time newValue", newValue) // if (!newValue) { // return; // } diff --git a/pages/invoiceDetail/index.js b/pages/invoiceDetail/index.js index 8414c5c..0a71aa9 100644 --- a/pages/invoiceDetail/index.js +++ b/pages/invoiceDetail/index.js @@ -87,7 +87,6 @@ Page({ }, fail: function (e) { // alertError("打开失败") - // console.log('打开失败错误为', e) wx.showModal({ title: '提示', content: '打开失败,请复制链接后通过浏览器打开', diff --git a/pages/readingHistory/components/editModal/index.js b/pages/readingHistory/components/editModal/index.js index c8fd43c..4511a8b 100644 --- a/pages/readingHistory/components/editModal/index.js +++ b/pages/readingHistory/components/editModal/index.js @@ -23,7 +23,6 @@ Component({ }, observers: { "timeProps": function(newValue) { - // console.log("newValue", newValue) this.setData({ time: newValue, // startTime: newValue @@ -87,7 +86,6 @@ Component({ alertSuccess("录入成功") this.setData({ number: null, time: null, startTime: null }) } else { - console.log("timeProps", timeProps) const { code, message } = await updateReading(park, meter, new Date(timeProps).getTime() * 1000, { overall: `${number}`, flat: `${number}`, diff --git a/pages/readingHistory/index.js b/pages/readingHistory/index.js index b545ad7..f118ece 100644 --- a/pages/readingHistory/index.js +++ b/pages/readingHistory/index.js @@ -19,7 +19,6 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad(options) { - console.log("options", options) const { meter, park, routeId, disabled } = options; const that = this; this.setData({ diff --git a/pages/writeReading/components/meterInfo/index.js b/pages/writeReading/components/meterInfo/index.js index 6bfc26f..be37581 100644 --- a/pages/writeReading/components/meterInfo/index.js +++ b/pages/writeReading/components/meterInfo/index.js @@ -23,7 +23,6 @@ Component({ methods: { jumpToHistory() { const { meterInfo, routeId, disabled } = this.data; - console.log("meterInfo", meterInfo) wx.navigateTo({ url: `/pages/readingHistory/index?meter=${meterInfo?.id}&park=${meterInfo?.parkId}&routeId=${routeId}&disabled=${disabled}`, }) diff --git a/pages/writeReading/components/meterList/index.js b/pages/writeReading/components/meterList/index.js index b9f8031..9c42753 100644 --- a/pages/writeReading/components/meterList/index.js +++ b/pages/writeReading/components/meterList/index.js @@ -108,14 +108,12 @@ Component({ }, // onScroll(e) { // // 实时更新当前滚动位置,可用于更复杂的边界判断 - // console.log("e", e) // this.setData({ // scrollLeft: e.detail.scrollLeft // }); // }, handleScrollLeft() { - console.log("left--------------") // 向左滚动:减少 scrollLeft,但不能小于0 const newScrollLeft = Math.max(0, this.data.scrollLeft - 200); this.setData({ @@ -124,7 +122,6 @@ Component({ }, handleScrollRight() { - console.log("right-----------------") // 向右滚动:增加 scrollLeft,但不能超过 maxScrollLeft const newScrollLeft = Math.min(this.data.maxScrollLeft, this.data.scrollLeft + 200); this.setData({ diff --git a/pages/writeReading/components/photo/index.js b/pages/writeReading/components/photo/index.js index ae4ca6e..93839f7 100644 --- a/pages/writeReading/components/photo/index.js +++ b/pages/writeReading/components/photo/index.js @@ -30,8 +30,6 @@ Component({ mediaType: ['image'], sourceType: ['album', 'camera'], success: async function(res) { - // console.log(res.tempFiles[0].tempFilePath) - // console.log(res.tempFiles[0].size) wx.cropImage({ src: res.tempFiles[0].tempFilePath, // 图片路径 cropScale: '16:9', // 裁剪比例 diff --git a/pages/writeReading/components/readingInfo/index.js b/pages/writeReading/components/readingInfo/index.js index f24df5e..bd56a56 100644 --- a/pages/writeReading/components/readingInfo/index.js +++ b/pages/writeReading/components/readingInfo/index.js @@ -25,9 +25,6 @@ Component({ } this.checkFinish(newValue) }, - "meterInfo": function(newValue) { - console.log("workStatus------------", newValue) - } }, /** * 组件的初始数据 diff --git a/service/public.js b/service/public.js index e3cf9f8..4b9d431 100644 --- a/service/public.js +++ b/service/public.js @@ -34,7 +34,6 @@ export const uploadOcrFile = (filePath) => { authorization: 'Bearer ' + wx.getStorageSync("token") }, success: (res) => { - console.log("res", res) resolve(res?.data ? JSON.parse(res?.data) : res?.data); }, fail: (err) => { diff --git a/utils/request.js b/utils/request.js index 5418e6f..3a66981 100644 --- a/utils/request.js +++ b/utils/request.js @@ -146,7 +146,6 @@ const CUD = async function (method, uri, data = null) { options.data = data; } const response = await request(options); - console.log("response---------",response) return parseResponse(response); };