|
|
@@ -72,7 +72,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
-import { ref, defineProps, reactive, computed, toRaw } from 'vue'
|
|
|
+import { ref, reactive, computed, toRaw } from 'vue'
|
|
|
|
|
|
import type { ProjectScene } from '@/store'
|
|
|
// import { ui18n } from '@/lang'
|
|
|
@@ -80,7 +80,7 @@ import type { ProjectScene } from '@/store'
|
|
|
defineOptions({ name: 'Reassign' })
|
|
|
|
|
|
const props = defineProps<{
|
|
|
- visible?: boolean
|
|
|
+ visible: boolean
|
|
|
scene: ProjectScene
|
|
|
onSave: (data: any) => void
|
|
|
onCancel: () => void
|
|
|
@@ -133,7 +133,7 @@ const handleOk = async () => {
|
|
|
openReassignModal.value = false
|
|
|
}
|
|
|
|
|
|
-const iframeRef = ref<HTMLIFrameElement>()
|
|
|
+const iframeRef = ref<any>()
|
|
|
const handleLoad = () => {
|
|
|
let timer = setInterval(() => {
|
|
|
if (iframeRef.value?.contentWindow?.__sdk) {
|