1
0
mirror of synced 2026-04-03 06:28:35 +08:00

fix(magic-admin): 修复发布页面资源路径错误,导致页面无法打开问题

This commit is contained in:
roymondchen
2022-07-11 19:51:47 +08:00
committed by jia000
parent f2893880b1
commit 7dc0b4e261
78 changed files with 468 additions and 7056 deletions

View File

@@ -9,9 +9,6 @@
<router-view :style="$route.meta.hideAside ? '' : 'padding: 20px'"></router-view>
</el-main>
</el-container>
<div class="fixed-layer" v-if="$route.name === 'ui-editor' && !isChrome">
<b style="font-size: 28px">魔方仅支持chrome浏览器编辑使用哦~</b>
</div>
</el-container>
<router-view v-else class="app" :class="{ 'hide-nav': hideNav }"></router-view>
</template>
@@ -47,7 +44,6 @@ export default defineComponent({
});
return {
isChrome: navigator.userAgent.toLowerCase().includes('chrome'),
hideFrame,
hideNav: !!new URL(location.href).searchParams.get('hideNav'),
asideTrigger,