Commit 63014f8c authored by 邓晓峰's avatar 邓晓峰

fix: 过滤DataPresentation

parent 4e9961dc
Pipeline #48962 passed with stages
in 2 minutes 12 seconds
...@@ -134,16 +134,19 @@ export const initMicroApps = () => { ...@@ -134,16 +134,19 @@ export const initMicroApps = () => {
singular: false, singular: false,
scopedCSS: true, scopedCSS: true,
prefetch: 'all', prefetch: 'all',
async fetch(url, ...args) { getTemplate(tpl){
if (url.indexOf('/cookie/flash.js') > -1) { return tpl.replace('<script src="http://18.10.10.253:89/cookie/flash.js"><script>', '');
return {
async text() {
return '';
},
};
}
return window.fetch(url, ...args);
}, },
// async fetch(url, ...args) {
// if (url.indexOf('/cookie/flash.js') > -1) {
// return {
// async text() {
// return '';
// },
// };
// }
// return window.fetch(url, ...args);
// },
// eslint-disable-next-line no-underscore-dangle // eslint-disable-next-line no-underscore-dangle
// getPublicPath: window.__INJECTED_PUBLIC_PATH_BY_QIANKUN__, // getPublicPath: window.__INJECTED_PUBLIC_PATH_BY_QIANKUN__,
excludeAssetFilter: url => excludeAssetFilter: url =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment