RuoYi-Cloud/ruoyi-ui
D哥 dffbeedb53
检查元素是否已经有 children 字段避免出现 undefined 的情况 update ruoyi-ui/src/utils/ruoyi.js.
// 检查元素是否已经有 children 字段,如果没有则添加 children 空数组字段
    // 避免后面的代码中 parentObj[config.childrenList] 出现 undefined 的情况
    if (!d[config.childrenList]) {
      d[config.childrenList] = [];
    }

Signed-off-by: D哥 <12271764+darrenteng@user.noreply.gitee.com>
2025-03-09 06:33:30 +00:00
..
bin update registry source 2022-03-30 10:23:51 +08:00
build 若依 1.0 2020-05-24 20:40:55 +08:00
public 修改主题样式本地读取 2024-12-07 17:08:53 +08:00
src 检查元素是否已经有 children 字段避免出现 undefined 的情况 update ruoyi-ui/src/utils/ruoyi.js. 2025-03-09 06:33:30 +00:00
.editorconfig 若依 1.0 2020-05-24 20:40:55 +08:00
.env.development 系统布局配置支持动态标题开关 2021-06-11 11:04:06 +08:00
.env.production 系统布局配置支持动态标题开关 2021-06-11 11:04:06 +08:00
.env.staging update .env.staging 2024-11-20 10:43:07 +08:00
.eslintignore 若依 1.0 2020-05-24 20:40:55 +08:00
.eslintrc.js 若依 1.0 2020-05-24 20:40:55 +08:00
.gitignore 若依 1.0 2020-05-24 20:40:55 +08:00
README.md update registry source 2022-03-30 10:23:51 +08:00
babel.config.js reset babel 2022-06-14 21:26:24 +08:00
package.json 用户管理支持分栏拖动 2024-11-22 13:58:37 +08:00
vue.config.js 升级quill到最新版本2.0.2 2024-10-15 16:21:20 +08:00

README.md

开发

# 克隆项目
git clone https://gitee.com/y_project/RuoYi-Vue

# 进入项目目录
cd ruoyi-ui

# 安装依赖
npm install

# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npmmirror.com

# 启动服务
npm run dev

浏览器访问 http://localhost:80

发布

# 构建测试环境
npm run build:stage

# 构建生产环境
npm run build:prod