From 55d0f3bc522cac310331b65f39ea91d14d6d9bd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=AB=E5=9B=B0=E7=9A=84=E8=9A=8A=E5=AD=90?= <24677102@qq.com> Date: Fri, 4 Oct 2024 23:38:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=AB=98=E7=BA=A7=E5=8F=82?= =?UTF-8?q?=E6=95=B0dpi=E5=8F=82=E6=95=B0=E8=AF=BB=E5=8F=96=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + ymhZjz/pages/edit/index.js | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5e2a149..66feb18 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ ------ # ⭐最近更新 +- 2024.10.04: 修复高级参数dpi参数读取错误 - 2024.10.03: 修复自定义尺寸一直没生效的问题,修复部分传参错误 - 2024.10.02: 增加高级参数,美化页面,去除无用变量 - 2024.09.23: 增加个人中心,优化拍照技巧,优化定制尺寸,修复首点击部分功能会出现重复跳转2次的问题 diff --git a/ymhZjz/pages/edit/index.js b/ymhZjz/pages/edit/index.js index e9bcb9c..f30afaf 100644 --- a/ymhZjz/pages/edit/index.js +++ b/ymhZjz/pages/edit/index.js @@ -192,12 +192,12 @@ Page({ //高级参数 saveParams() { -   if (isNaN(this.kb) || this.dpi<0){ +   if (isNaN(this.data.kb) || this.data.kb<0){ this.setData({ kb: 0 }) } -   if (isNaN(this.dpi) || this.dpi<72){ +   if (isNaN(this.data.dpi) || this.data.dpi<72){ this.setData({ dpi: 72 }); @@ -344,8 +344,8 @@ Page({ wx.showLoading({ title: '制作中...' }); - wx.redirectTo({ - url: './complete/index?msg=111&tempFilePath=pa&url=https://www.haimati.cn/img/1_7_1.98819809.jpg', + wx.navigateTo({ + url: './complete/index?url=https://www.haimati.cn/img/1_7_1.98819809.jpg', }); },