|
@@ -7,6 +7,7 @@
|
|
|
<ui-group-option label="等比缩放">
|
|
|
<template #icon>
|
|
|
<a class="set-prop"
|
|
|
+ :class="{disabled: isOld}"
|
|
|
@click="router.push({
|
|
|
name: RoutesName.proportion,
|
|
|
params: { id: custom.currentModel!.id, save: '1' },
|
|
@@ -48,6 +49,7 @@
|
|
|
<ui-group-option>
|
|
|
<!-- :disabled="currentItem" -->
|
|
|
<ui-button
|
|
|
+ :class="{disabled: isOld}"
|
|
|
@click="router.push({
|
|
|
name: RoutesName.registration,
|
|
|
params: {id: custom.currentModel!.id, save: '1' }
|
|
@@ -62,9 +64,9 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
-import { RoutesName, router, currentMeta } from '@/router'
|
|
|
+import { RoutesName, router } from '@/router'
|
|
|
import { RightPano } from '@/layout'
|
|
|
-import { autoSaveFuseModels, defaultFuseModelAttrs } from '@/store'
|
|
|
+import { autoSaveFuseModels, defaultFuseModelAttrs, isOld } from '@/store'
|
|
|
import { togetherCallback } from '@/utils'
|
|
|
import { getSceneModel, modelRange } from '@/sdk'
|
|
|
import { useViewStack, useActive } from '@/hook'
|
|
@@ -111,7 +113,6 @@ const reset = async () => {
|
|
|
}
|
|
|
|
|
|
useViewStack(() => togetherCallback([
|
|
|
- showLeftCtrlPanoStack.push(ref(false)),
|
|
|
showLeftPanoStack.push(ref(true)),
|
|
|
modelsChangeStoreStack.push(ref(true)),
|
|
|
() => currentItem.value = null
|