Comments (4)
url只作为html的地址,没有其它作用,参数需要设置在浏览器地址上,详情可以查看 https://zeroing.jd.com/micro-app/docs.html#/zh-cn/route
from micro-app.
因为子是一个JSP页面,会请求一个接口返回JSP,需要带参数才能返回正确的 HTML,这种也不行么
from micro-app.
这种情况比较特殊,可以通过配置fetch,在请求地址上手动添加参数,具体参考这里 https://zeroing.jd.com/micro-app/docs.html#/zh-cn/other?id=_2%e3%80%81%e8%87%aa%e5%ae%9a%e4%b9%89fetch
from micro-app.
嗯,这样做应该是可以了,issues我先关了。
from micro-app.
Related Issues (20)
- 子应用卸载内存不回收,内存泄露溢出,页面越来越卡顿,最终导致页面崩溃 HOT 1
- 子应用可以使用哪些富文本 HOT 4
- Vue 3.4.0 出现子应用build后micro-app组件无法渲染的问题 HOT 4
- 子应用A和B循环依赖 HOT 2
- Failed to read the 'localStorage' property from 'Window' : Access is denied for this document HOT 1
- 不支持自定义协议或者file协议 HOT 1
- We're sorry but 项目名称 doesn't work properly without JavaScript enabled. Please enable it to continue HOT 4
- 我该怎样引进非框架构建应用,单纯的html页面。 HOT 3
- 最新版本中setGlobalData新数据后,通过getGlobalData的数据仍然是旧数据 HOT 2
- 您的浏览器暂不支持JavaScript,请尝试高版本或其他浏览器! HOT 2
- 子应用使用了Systemjs后,渲染页面时报错 HOT 1
- 调用unmountAllApps主动卸载所有应用,没有触发生命周期unmount;但是调用unmountApp会触发unmount。
- vite React 主应用 无法开启 vite vue3 with沙箱 以及__webpack_public_path__ is not defined HOT 5
- 火狐浏览器子应用中bpmn设计器不能正常使用,谷歌可以正常使用 HOT 2
- Angular12:micro-app组件在父元素设置了transform: translate3d(100px, 0px, 0px)后,ng-zorro的弹窗组件无法覆盖全局,而是在父元素里 HOT 6
- 子应用配置UMD模式,在主应用中访问时,没有触发mount方法 HOT 7
- 子应用使用vue2+elementUI项目时,elementUI移除元素异常 HOT 3
- js File类型被改变,
- micro-app 使用问题全记录 HOT 6
- 子应用内window.open进程卡死 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from micro-app.