去除打印
This commit is contained in:
@@ -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}`,
|
||||
})
|
||||
|
@@ -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({
|
||||
|
@@ -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', // 裁剪比例
|
||||
|
@@ -25,9 +25,6 @@ Component({
|
||||
}
|
||||
this.checkFinish(newValue)
|
||||
},
|
||||
"meterInfo": function(newValue) {
|
||||
console.log("workStatus------------", newValue)
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 组件的初始数据
|
||||
|
Reference in New Issue
Block a user