fix(系统设置): 创建环境时数据库配置中数据库驱动信息校验问题

--bug=1024753 --user=李玉号
【系统设置】github#23002,环境管理-创建环境,数据库配置处有不能为空提示,将每一项都进行填写完后,“数据库驱动”下边还存在提示“不能为空”
https://www.tapd.cn/55049933/s/1355428

Closes #23002
This commit is contained in:
shiziyuan9527 2023-03-24 10:42:54 +08:00 committed by lyh
parent bcfcf29030
commit 126f8488da
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ export default {
{max: 300, message: this.$t('commons.input_limit', [0, 300]), trigger: 'blur'}
],
driver: [
{required: true, message: this.$t('commons.cannot_be_null'), trigger: 'blur'},
{required: true, message: this.$t('commons.cannot_be_null'), trigger: ['change','blur']},
],
password: [
{max: 200, message: this.$t('commons.input_limit', [0, 200]), trigger: 'blur'}