2
0

feat:白名单提交增加成功提示

This commit is contained in:
zhongzm
2025-06-20 15:33:51 +08:00
parent d137f49ca0
commit 75e03f93ac
3 changed files with 12 additions and 6 deletions

View File

@@ -697,8 +697,9 @@ const local: any = {
autoRec:'AutoRecommended',
custom:'Custom',
fastRoaming:'Fast Roaming',
aiRoaming:'AI Roaming'
aiRoaming:'AI Roaming',
passwordInvalid:'The password format is incorrect, please include uppercase and lowercase letters and symbols.',
addSuccess:'Add success',
},
headerbanner:{
controller:'Controller Overview',
@@ -941,7 +942,8 @@ const local: any = {
ok:'confirm',
plenumber:'Please enter a valid number',
subnetMask:'Subnet mask must be between 0-32',
iperror:'ip is not right'
iperror:'ip is not right',
applysuccess:'Apply Success',
},
terminal:{

View File

@@ -697,7 +697,9 @@ const local:any = {
autoRec:'自动(建议选项)',
custom:'自定义',
fastRoaming:'快速漫游',
aiRoaming:'AI漫游'
aiRoaming:'AI漫游',
passwordInvalid:'密码格式不正确,请包含大小写字母和符号',
addSuccess:'添加成功',
},
headerbanner:{
@@ -942,7 +944,8 @@ const local:any = {
ok:'确认',
plenumber:'请输入有效数字',
subnetMask:'子网掩码必须在0-32之间',
iperror:'ip地址格式不正确'
iperror:'ip地址格式不正确',
applysuccess:'提交成功',
},
terminal:{

View File

@@ -578,8 +578,9 @@ const handleApply = async () => {
// 调用更新接口
const { error } = await updateAccessControl(selectedSiteId.value, submitData)
if (error) {
if (!error) {
// message.error('提交失败')
message.success(t('page.access.applysuccess'))
return
}