mirror of
https://github.com/no1xuan/photo.git
synced 2026-08-31 00:49:20 +08:00
修复高级参数dpi参数读取错误
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
------
|
||||
|
||||
# ⭐最近更新
|
||||
- 2024.10.04: 修复高级参数dpi参数读取错误
|
||||
- 2024.10.03: 修复自定义尺寸一直没生效的问题,修复部分传参错误
|
||||
- 2024.10.02: 增加高级参数,美化页面,去除无用变量
|
||||
- 2024.09.23: 增加个人中心,优化拍照技巧,优化定制尺寸,修复首点击部分功能会出现重复跳转2次的问题
|
||||
|
||||
@@ -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',
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user