flat: init

This commit is contained in:
史典卓
2024-11-08 11:55:23 +08:00
commit 0e64009a8a
80 changed files with 10529 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const stores_useUserStore = require("../../stores/useUserStore.js");
const _sfc_main = {
__name: "index",
setup(__props) {
const { $api, navTo } = common_vendor.inject("globalFunction");
stores_useUserStore.useUserStore();
const state = common_vendor.reactive({
title: "123123123房贷首付打的手机家里好玩的很浓厚第卡后sdhiwohdijasnbdhoui1很努力"
});
common_vendor.onShow(() => {
console.log("onShow");
});
common_vendor.onLoad(() => {
console.log("onLoad");
navTo("/pages/login/login");
});
common_vendor.watch(
() => state.title,
(newValue, oldValue) => {
},
{ deep: true }
);
return (_ctx, _cache) => {
return {};
};
}
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-1cf27b2a"]]);
wx.createPage(MiniProgramPage);