Merge pull request #4770 from dataease/pr@dev@refactor_prompt-optimization

refactor(仪表板): 删除文案优化 #4766
This commit is contained in:
王嘉豪 2023-03-13 18:19:16 +08:00 committed by GitHub
commit e484627a43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 1 deletions

View File

@ -382,6 +382,7 @@ export default {
thumbnail: 'thumbnail',
confirm_delete: 'Confirm delete',
delete_this_dashboard: 'Are you sure to delete this dashboard?',
delete_this_folder: 'Are you sure to delete this folder?',
confirm_stop: 'Confirm stop',
stop_success: 'Stop success',
treeselect: {

View File

@ -382,6 +382,7 @@ export default {
thumbnail: '縮略圖',
confirm_delete: '確認刪除',
delete_this_dashboard: '確認删除該儀錶板嗎?',
delete_this_folder: '確認删除該目錄嗎?',
confirm_stop: '確認停止',
stop_success: '停止成功',
treeselect: {

View File

@ -383,6 +383,7 @@ export default {
thumbnail: '缩略图',
confirm_delete: '确认删除',
delete_this_dashboard: '确认删除该仪表板吗?',
delete_this_folder: '确认删除该目录吗?',
confirm_stop: '确认停止',
stop_success: '停止成功',
treeselect: {

View File

@ -850,7 +850,7 @@ export default {
delete(data) {
const params = {
title: 'commons.delete_this_dashboard',
title: data.nodeType === 'folder'?'commons.delete_this_folder':'commons.delete_this_dashboard',
type: 'danger',
cb: () => {
delGroup(data.id).then((response) => {