refactor(项目设置): 优化创建或编辑环境,数据库驱动校验提示

--bug=1025214 --user=王孝刚 【项目设置】创建环境或者编辑环境-数据库配置-添加数据源后-数据库驱动处提示
https://www.tapd.cn/55049933/s/1360297
This commit is contained in:
wxg0103 2023-04-07 16:22:31 +08:00 committed by 刘瑞斌
parent 97ae5e919e
commit 7d981e83f7
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'} {max: 300, message: this.$t('commons.input_limit', [0, 300]), trigger: 'blur'}
], ],
driver: [ driver: [
{required: true, message: this.$t('commons.cannot_be_null'), trigger: ['change','blur']}, {required: true, message: this.$t('commons.cannot_be_null'), trigger: 'blur'},
], ],
password: [ password: [
{max: 200, message: this.$t('commons.input_limit', [0, 200]), trigger: 'blur'} {max: 200, message: this.$t('commons.input_limit', [0, 200]), trigger: 'blur'}