Files
app-product/dist/assets/index-KMVTlfvo.js
编码猿 b77e36a178
Some checks failed
build and push / build-and-push (push) Has been cancelled
first commit
2025-10-07 03:17:55 +08:00

2 lines
1.7 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{importShared as l}from"./__federation_fn_import-E6wRZccp.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))c(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const i of t.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&c(i)}).observe(document,{childList:!0,subtree:!0});function s(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function c(e){if(e.ep)return;e.ep=!0;const t=s(e);fetch(e.href,t)}})();const u={BASE_URL:"/app-product/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_MODEL_SHARED_NAME:"app-shared",VITE_NACOS_ADDRESS:"192.168.139.84:8848",VITE_PREFIX:"http://",VITE_SERVER_NAME:"app-product",VITE_SERVER_PORT:"1301"},{defineComponent:a,onMounted:p,Fragment:d,createTextVNode:o,createVNode:r}=await l("vue"),f=a({setup(){return p(()=>{console.log("import.meta.env: ",u)}),()=>r(d,null,[r("div",{class:"order-federation-placeholder"},[r("h2",null,[o("商品-联邦模块")]),r("p",null,[o("此页面仅用于 商品模块 的单独开发和调试,可临时引入组件进行本地测试,实际运行时由 主应用 加载本项目代码")]),r("h2",null,[o("本模块包含的功能:")]),r("ul",null,[r("li",null,[o("1获取商品首页的数据和展示")]),r("li",null,[o("2点击商品进入详情页")])]),r("p",null,null)])])}}),{createApp:m}=await l("vue"),{createPinia:_}=await l("pinia");m(f).use(_()).mount("#app");