feat: 做了适配手机端的条件编译的

This commit is contained in:
2026-05-10 11:24:48 +08:00
parent 58a88b7953
commit bef68d4f3c
7 changed files with 117 additions and 62 deletions

View File

@@ -1,5 +1,6 @@
export default {
install(app) {
// #ifdef MP-WEIXIN
app.mixin({
onLoad() {
const page = getCurrentPages().pop();
@@ -13,5 +14,6 @@ export default {
}
},
});
// #endif
},
};