"use strict"; const common_vendor = require("../../common/vendor.js"); const api_auth = require("../../api/auth.js"); const _sfc_main = { __name: "privacy_policy", setup(__props) { const privacyContent = common_vendor.ref('

内容加载中...

'); common_vendor.onMounted(async () => { try { const res = await api_auth.getAgreement("privacy"); if (res && res.data) { privacyContent.value = res.data.content || '

暂无相关协议内容

'; if (res.data.title) { common_vendor.index.setNavigationBarTitle({ title: res.data.title }); } } } catch (err) { common_vendor.index.__f__("error", "at pages/my/privacy_policy.vue:32", "获取隐私政策失败:", err); privacyContent.value = '

协议加载失败,请稍后重试

'; } }); return (_ctx, _cache) => { return { a: privacyContent.value }; }; } }; const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-e5797e7d"]]); wx.createPage(MiniProgramPage); //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/my/privacy_policy.js.map