fix(系统设置): 配置邮件Port添加参数校验
--bug=1026576 --user=宋昌昌 【系统设置】配置存在问题时邮件测试未提示错误 https://www.tapd.cn/55049933/s/1383940
This commit is contained in:
parent
fbde49c822
commit
b52851bc32
|
@ -89,7 +89,7 @@ import {getSystemMailServerInfo, modifySystemMailServerInfo, testMailServerConne
|
|||
export default {
|
||||
name: "EmailSetting",
|
||||
data() {
|
||||
const validatorPortNum = (value, callback) => {
|
||||
const validatorPortNum = (rule, value, callback) => {
|
||||
const numExp = /^[0-9]*$/
|
||||
if (!numExp.test(value)) {
|
||||
callback(new Error("Port" + this.$t("commons.type_of_num")))
|
||||
|
|
Loading…
Reference in New Issue