fix: 资源池镜像长度进行限制

--bug=1027746 --user=刘瑞斌 【系统设置】github#25536,【系统设置】-系统-测试资源池:创建资源池-镜像。输入字符数过长时点击确定提示异常信息“SQL error happened, please check logs.” https://www.tapd.cn/55049933/s/1392386
This commit is contained in:
CaptainB 2023-07-12 17:17:39 +08:00 committed by 刘瑞斌
parent 0c283b5a50
commit de256de046
1 changed files with 3 additions and 0 deletions

View File

@ -324,6 +324,9 @@ export default {
trigger: 'blur' trigger: 'blur'
} }
], ],
image: [
{max: 100, message: this.$t('commons.input_limit', [0, 100])}
],
description: [ description: [
{max: 60, message: this.$t('commons.input_limit', [0, 60]), trigger: 'blur'} {max: 60, message: this.$t('commons.input_limit', [0, 60]), trigger: 'blur'}
], ],