refactor: update add component tips

This commit is contained in:
wangjiahao
2025-07-24 21:39:44 +08:00
parent 13d4778fd4
commit c6b16e7ad3
3 changed files with 8 additions and 2 deletions
+2 -1
View File
@@ -32,6 +32,7 @@
"password_reset_successful": "Password reset successful"
},
"dashboard": {
"add_success": "Add Success",
"no_data": "No Relevant Content Found",
"new_tab": "New Tab",
"length_limit64": "Field length must be between 1 and 64",
@@ -505,4 +506,4 @@
"back_community": "Restore to Community Edition",
"confirm_tips": "Are you sure to restore to Community Edition?"
}
}
}
+2 -1
View File
@@ -34,6 +34,7 @@
"password_reset_successful": "重置密码成功"
},
"dashboard": {
"add_success": "添加成功",
"no_data": "没找到相关内容",
"new_tab": "新建Tab",
"length_limit64": "字段长度需要在1-64之间",
@@ -517,4 +518,4 @@
"back_community": "还原至社区版",
"confirm_tips": "确定还原至社区版?"
}
}
}
@@ -138,6 +138,10 @@ const addChatChart = (views: any) => {
views.forEach((view: any) => {
emits('addComponent', 'SQView', cloneDeep(view))
})
ElMessage({
type: 'success',
message: t('dashboard.add_success'),
})
}
const previewInner = () => {