feat:导入时未上传文件添加提示
This commit is contained in:
@@ -162,6 +162,8 @@
|
|||||||
this.$message.error(response.msg);
|
this.$message.error(response.msg);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}else{
|
||||||
|
this.$message.error(this.$t('tip.noImportFile'));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
exportMenuHandler(show) {
|
exportMenuHandler(show) {
|
||||||
|
|||||||
@@ -381,7 +381,8 @@ const cn = {
|
|||||||
pressEnterToAdd: "回车添加新行",
|
pressEnterToAdd: "回车添加新行",
|
||||||
resetSuccess: "重置成功",
|
resetSuccess: "重置成功",
|
||||||
syncSuccess:'同步成功',
|
syncSuccess:'同步成功',
|
||||||
syncTip:"此操作可能造成原有数据或图表被覆盖,确认同步吗?"
|
syncTip:"此操作可能造成原有数据或图表被覆盖,确认同步吗?",
|
||||||
|
noImportFile:'没有可导入的文件'
|
||||||
},
|
},
|
||||||
asset: {
|
asset: {
|
||||||
asset: "资产",
|
asset: "资产",
|
||||||
|
|||||||
@@ -381,10 +381,11 @@ const en = {
|
|||||||
testSuccess:'Test success',
|
testSuccess:'Test success',
|
||||||
downloadSuccess : 'Download success',
|
downloadSuccess : 'Download success',
|
||||||
uploadSuccess: 'Upload success',
|
uploadSuccess: 'Upload success',
|
||||||
pressEnterToAdd: 'Press enter to add new此操作可能造成原有数据或图表被覆盖,确认同步吗? line',
|
pressEnterToAdd: 'Press enter to add new line',
|
||||||
resetSuccess:'Reset success',
|
resetSuccess:'Reset success',
|
||||||
syncSuccess:'Synchronize success',
|
syncSuccess:'Synchronize success',
|
||||||
syncTip:'This operation may cause the original data or chart to be overwritten. Are you sure to synchronize?',
|
syncTip:'This operation may cause the original data or chart to be overwritten. Are you sure to synchronize?',
|
||||||
|
noImportFile:'No import file found'
|
||||||
},
|
},
|
||||||
asset:{
|
asset:{
|
||||||
asset: 'Asset',
|
asset: 'Asset',
|
||||||
|
|||||||
Reference in New Issue
Block a user