From aed958b1be90c32428bf05a0a0afeb51a0578d86 Mon Sep 17 00:00:00 2001 From: 若依 <yzz_ivy@163.com> Date: 星期五, 04 九月 2020 14:04:08 +0800 Subject: [PATCH] !82 修复Editor组件在传入内容为null时无法响应式更新其内容的bug Merge pull request !82 from HaoRan/N/A --- ruoyi-ui/src/store/modules/permission.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/store/modules/permission.js b/ruoyi-ui/src/store/modules/permission.js index eb31164..deed451 100644 --- a/ruoyi-ui/src/store/modules/permission.js +++ b/ruoyi-ui/src/store/modules/permission.js @@ -48,7 +48,7 @@ } export const loadView = (view) => { // 路由懒加载 - return () => import(`@/views/${view}`) + return (resolve) => require([`@/views/${view}`], resolve) } export default permission -- Gitblit v1.9.2