Files
PC-202306242200\Administrator dac42e3b0c first commit
2026-03-28 23:09:02 +08:00

30 lines
799 B
JavaScript

"use strict";
const common_vendor = require("../../common/vendor.js");
const api_api = require("../../api/api.js");
if (!Array) {
const _easycom_mp_html2 = common_vendor.resolveComponent("mp-html");
_easycom_mp_html2();
}
const _easycom_mp_html = () => "../../uni_modules/mp-html/components/mp-html/mp-html.js";
if (!Math) {
_easycom_mp_html();
}
const _sfc_main = {
__name: "agreement",
setup(__props) {
let info = common_vendor.ref({});
common_vendor.onLoad(async (options) => {
let _res = await api_api.selectProtocolInfo({ id: options.id });
info.value = _res;
});
return (_ctx, _cache) => {
return {
a: common_vendor.p({
content: common_vendor.unref(info).protocolContent
})
};
};
}
};
my.createPage(_sfc_main);