Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
报错截图与错误描述:
用户信息表
CREATE TABLE manage_user (
id BIGINT PRIMARY KEY AUTO_INCREMENT COMMENT '用户ID',
salt VARCHAR(255) COMMENT '加密盐',
user_name VARCHAR(36) NOT NULL UNIQUE COMMENT '用户名,12个汉字以内',
user_password CHAR(32) NOT NULL COMMENT '密码,MD5加密',
phone VARCHAR(11) NOT NULL COMMENT '手机号',
user_avatar VARCHAR(255) COMMENT '头像',
user_backdrop VARCHAR(255) COMMENT '用户背景图片',
user_certification TINYINT(1) DEFAULT 0 COMMENT '认证情况,0未认证,1已认证',
user_status TINYINT(1) DEFAULT 0 COMMENT '账户状态,0正常,1锁定',
created_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
updated_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间'
) COMMENT '用户信息表';
修改办法: DictTag组件先判断是不是一个数组即可
下图为修改成功后
经个人数十次不完全测试Vue2版本没有这个问题
没有看到gitee上由vue3版本的ruoyi官方库,因此已merge request到GitHub