Merge pull request #298 from dataease/pr@dev@fix_rollback

fix: 回退
This commit is contained in:
XiaJunjie2020 2021-07-22 19:35:31 +08:00 committed by GitHub
commit 589d7aa2b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,7 +181,7 @@ public class ChartViewService {
} }
// 获取数据集,需校验权限 // 获取数据集,需校验权限
DatasetTable table = dataSetTableService.getWithPermission(view.getTableId()); DatasetTable table = dataSetTableService.get(view.getTableId());
if (ObjectUtils.isEmpty(table)) { if (ObjectUtils.isEmpty(table)) {
throw new RuntimeException(Translator.get("i18n_dataset_delete_or_no_permission")); throw new RuntimeException(Translator.get("i18n_dataset_delete_or_no_permission"));
} }