去除打印

This commit is contained in:
2025-09-28 16:29:08 +08:00
parent 87bb23a9a4
commit 612dd4eac1
10 changed files with 0 additions and 16 deletions

View File

@@ -87,7 +87,6 @@ Page({
},
fail: function (e) {
// alertError("打开失败")
// console.log('打开失败错误为', e)
wx.showModal({
title: '提示',
content: '打开失败,请复制链接后通过浏览器打开',

View File

@@ -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}`,

View File

@@ -19,7 +19,6 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad(options) {
console.log("options", options)
const { meter, park, routeId, disabled } = options;
const that = this;
this.setData({

View File

@@ -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}`,
})

View File

@@ -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({

View File

@@ -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', // 裁剪比例

View File

@@ -25,9 +25,6 @@ Component({
}
this.checkFinish(newValue)
},
"meterInfo": function(newValue) {
console.log("workStatus------------", newValue)
}
},
/**
* 组件的初始数据