feat:架构代码优化

This commit is contained in:
R524809
2025-12-11 13:02:44 +08:00
parent 2c32235568
commit 3c0e2af10d
89 changed files with 2774 additions and 2816 deletions
+4 -6
View File
@@ -1,11 +1,9 @@
import config from '../../config/config';
const defaultPrintConfig: PrintConfig = config.printHeader as PrintConfig;
import { defaultPrintConfig } from '../../config/config';
Page({
data: {
printConfig: defaultPrintConfig,
enableDebug: false
enableDebug: false,
},
onLoad() {
@@ -41,5 +39,5 @@ Page({
toggleDebug() {
const enableDebug = !this.data.enableDebug;
this.setData({ enableDebug });
}
});
},
});