diff --git a/core/core-frontend/src/components/visualization/ComponentEditBar.vue b/core/core-frontend/src/components/visualization/ComponentEditBar.vue index a1362f1f19..58de99e82a 100644 --- a/core/core-frontend/src/components/visualization/ComponentEditBar.vue +++ b/core/core-frontend/src/components/visualization/ComponentEditBar.vue @@ -131,7 +131,7 @@ @@ -174,6 +174,7 @@ const dvMainStore = dvMainStoreWithOut() const snapshotStore = snapshotStoreWithOut() const copyStore = copyStoreWithOut() const customTabsSortRef = ref(null) +const authShow = computed(() => dvInfo.value.weight > 3) const emits = defineEmits([ 'userViewEnlargeOpen', 'closePreview', @@ -264,8 +265,15 @@ const props = defineProps({ }) const { element, index, showPosition, canvasId } = toRefs(props) -const { batchOptStatus, pcMatrixCount, curComponent, componentData, canvasViewInfo, mobileInPc } = - storeToRefs(dvMainStore) +const { + batchOptStatus, + pcMatrixCount, + curComponent, + componentData, + canvasViewInfo, + mobileInPc, + dvInfo +} = storeToRefs(dvMainStore) const state = reactive({ systemOS: 'Mac',