Merge pull request #10612 from dataease/pr@dev-v2@fix_export-auth

refactor(图表): 优化导出权限判断
This commit is contained in:
王嘉豪 2024-06-28 19:04:41 +08:00 committed by GitHub
commit 630a41a11b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,7 +127,6 @@
</el-dropdown-menu>
</template>
</el-dropdown>
<el-dropdown
trigger="click"
placement="right-start"
@ -174,7 +173,7 @@ const dvMainStore = dvMainStoreWithOut()
const snapshotStore = snapshotStoreWithOut()
const copyStore = copyStoreWithOut()
const customTabsSortRef = ref(null)
const authShow = computed(() => dvInfo.value.weight > 3)
const authShow = computed(() => !dvInfo.value.weight || dvInfo.value.weight > 3)
const emits = defineEmits([
'userViewEnlargeOpen',
'closePreview',