|
@@ -40,7 +40,7 @@
|
|
|
type="primary"
|
|
|
ghost
|
|
|
style="float: right"
|
|
|
- v-if="canSync(item as Scene)"
|
|
|
+ v-if="canSync(item as Scene) && !voffline"
|
|
|
@click.stop="sync(item as Scene)"
|
|
|
>
|
|
|
同屏勘验
|
|
@@ -72,6 +72,7 @@ const emit = defineEmits<{ (e: "update:current", data: ModelType): void }>();
|
|
|
const props = defineProps<{ current: ModelType }>();
|
|
|
const showModelList = ref(true);
|
|
|
|
|
|
+const voffline = offline;
|
|
|
const canSync = (scene: Scene) =>
|
|
|
[SceneType.SWKK, SceneType.SWKJ, SceneType.SWSSMX, SceneType.SWYDMX].includes(
|
|
|
scene.raw.type
|