27 lines
1.1 KiB
JavaScript
27 lines
1.1 KiB
JavaScript
|
|
"use strict";
|
||
|
|
const common_vendor = require("../../vendor.js");
|
||
|
|
require("../../libraries/request.js");
|
||
|
|
const common_store_useWeAppAuthStore = require("../../store/useWeAppAuthStore.js");
|
||
|
|
require("../../../gen/Apis.js");
|
||
|
|
require("../../libraries/apiLoading.js");
|
||
|
|
if (!Math) {
|
||
|
|
(Loading + NetworkError)();
|
||
|
|
}
|
||
|
|
const Loading = () => "./Loading.js";
|
||
|
|
const NetworkError = () => "./NetworkError.js";
|
||
|
|
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||
|
|
__name: "cc-root-view",
|
||
|
|
setup(__props) {
|
||
|
|
const auth = common_store_useWeAppAuthStore.useWeAppAuthStore();
|
||
|
|
return (_ctx, _cache) => {
|
||
|
|
return common_vendor.e({
|
||
|
|
a: common_vendor.unref(auth).loading
|
||
|
|
}, common_vendor.unref(auth).loading ? {} : common_vendor.unref(auth).hasError ? {} : {}, {
|
||
|
|
b: common_vendor.unref(auth).hasError
|
||
|
|
});
|
||
|
|
};
|
||
|
|
}
|
||
|
|
});
|
||
|
|
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/zsq/Sources/github/2025property-pay/pay-customer/src/common/components/cc-root-view/cc-root-view.vue"]]);
|
||
|
|
wx.createComponent(Component);
|