This commit is contained in:
kangwei 2020-05-05 14:26:22 +08:00
parent 7c3d9ca248
commit a8d4a740b2

View File

@ -45,11 +45,7 @@ async function loadAssets() {
if (assets.packages) {
assets.packages.forEach((item: any) => {
if (item.package.indexOf('@ali/vc-') === 0 && item.urls) {
item.urls = item.urls.filter((url: string) => {
return url.indexOf('view.mobile') < 0;
});
} else if (item.package && externals.indexOf(item.package) > -1) {
if (item.package && externals.indexOf(item.package) > -1) {
item.urls = null;
}
});
@ -399,7 +395,7 @@ function initHistoryPane() {
historyManager: {
historyManager,
app: {
}
},
index: -940,