diff --git a/src/components/d2-ueditor/ueditor.config.js b/src/components/d2-ueditor/ueditor.config.js index 984a0f9a..8cff9bb8 100644 --- a/src/components/d2-ueditor/ueditor.config.js +++ b/src/components/d2-ueditor/ueditor.config.js @@ -1,5 +1,5 @@ export default { - UEDITOR_HOME_URL: './lib/UEditor/', + UEDITOR_HOME_URL: '/lib/UEditor/', // 编辑器不自动被内容撑高 autoHeightEnabled: false, // 初始容器高度 diff --git a/src/router/index.js b/src/router/index.js index 496b9504..c84f6cd0 100755 --- a/src/router/index.js +++ b/src/router/index.js @@ -44,6 +44,8 @@ router.beforeEach((to, from, next) => { redirect: to.fullPath } }) + // https://github.com/d2-projects/d2-admin/issues/138 + NProgress.done() } } else { // 不需要身份校验 直接通过