forked from github/dataease
Merge pull request #4770 from dataease/pr@dev@refactor_prompt-optimization
refactor(仪表板): 删除文案优化 #4766
This commit is contained in:
commit
e484627a43
@ -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: {
|
||||
|
@ -382,6 +382,7 @@ export default {
|
||||
thumbnail: '縮略圖',
|
||||
confirm_delete: '確認刪除',
|
||||
delete_this_dashboard: '確認删除該儀錶板嗎?',
|
||||
delete_this_folder: '確認删除該目錄嗎?',
|
||||
confirm_stop: '確認停止',
|
||||
stop_success: '停止成功',
|
||||
treeselect: {
|
||||
|
@ -383,6 +383,7 @@ export default {
|
||||
thumbnail: '缩略图',
|
||||
confirm_delete: '确认删除',
|
||||
delete_this_dashboard: '确认删除该仪表板吗?',
|
||||
delete_this_folder: '确认删除该目录吗?',
|
||||
confirm_stop: '确认停止',
|
||||
stop_success: '停止成功',
|
||||
treeselect: {
|
||||
|
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user