打印增加中文编码

This commit is contained in:
2025-04-19 18:18:36 +08:00
parent c415939ef1
commit dd72d79bb1
12 changed files with 50 additions and 33 deletions

View File

@@ -9,8 +9,7 @@ Page({
Uid: null, //登录获取的信息保存本地设备
},
onLoad(query) {
// 页面加载
console.info(`胜佳Page onLoad with query: ${JSON.stringify(query)}`);
// // 页面加载
// 检查本地缓存中是否有登录信息 要四个不为空才渲染//
const loginInfo = dd.getStorageSync({
key: 'loginInfo'
@@ -37,7 +36,7 @@ Page({
type:'success',
duration: 1000,
success() {
console.log('toast end');
}
});
},
@@ -85,7 +84,7 @@ Page({
type: 'none',
duration: 3000,
success() {
console.log('toast end');
}
});
return;
@@ -113,7 +112,7 @@ Page({
type: 'none',
duration: 3000,
success() {
console.log('toast end');
}
});
return;
@@ -180,7 +179,7 @@ Page({
type: 'success',
duration: 3000,
success() {
console.log('toast end');
}
});
resolve(uid);
@@ -204,7 +203,7 @@ Page({
type: 'none',
duration: 3000,
success() {
console.log('toast end');
}
});
});
@@ -283,7 +282,6 @@ Page({
type: 'success',
duration: 1000,
success() {
console.log('toast end');
},
});
} else {
@@ -292,7 +290,6 @@ Page({
type: 'none',
duration: 1000,
success() {
console.log('toast end');
},
});
}
@@ -303,7 +300,6 @@ Page({
type: 'none',
duration: 1000,
success() {
console.log('toast end');
},
fail() {
console.log(error.message);