feat:白名单提交增加成功提示
This commit is contained in:
@@ -697,8 +697,9 @@ const local: any = {
|
||||
autoRec:'Auto(Recommended)',
|
||||
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:{
|
||||
|
||||
@@ -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:{
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user