mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
refactor: update add component tips
This commit is contained in:
@@ -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?"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user