|
@@ -18,12 +18,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
|
config.value = res.data;
|
|
|
common_vendor.index.setStorage({
|
|
|
key: "config",
|
|
|
- data: res.data,
|
|
|
- success: function(arr) {
|
|
|
- },
|
|
|
- fail: function(err) {
|
|
|
- console.log(err);
|
|
|
- }
|
|
|
+ data: res.data
|
|
|
});
|
|
|
}
|
|
|
};
|
|
@@ -54,8 +49,9 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
|
});
|
|
|
};
|
|
|
return (_ctx, _cache) => {
|
|
|
+ var _a2, _b2;
|
|
|
return {
|
|
|
- a: config.value.logo[0].url || "/static/logo.png"
|
|
|
+ a: ((_b2 = (_a2 = config.value) == null ? void 0 : _a2.logo[0]) == null ? void 0 : _b2.url) || "/static/logo.png"
|
|
|
};
|
|
|
};
|
|
|
}
|