|
@@ -2,7 +2,7 @@
|
|
|
import { onMounted, onUnmounted, ref, useTemplateRef, watch } from 'vue';
|
|
|
|
|
|
import { useViewVisible } from '@/hooks/view-visible';
|
|
|
-import { EnvAreaMsgType, getEnvAreaMsgType } from '@/utils/env-area';
|
|
|
+import { envAreaEditorPageUrl, EnvAreaMsgType, getEnvAreaMsgType } from '@/utils/env-area';
|
|
|
|
|
|
import type { IframeMsg, RegionsPointsItem } from '@/types';
|
|
|
|
|
@@ -77,7 +77,7 @@ defineExpose({
|
|
|
:mask-closable="false"
|
|
|
:footer="null"
|
|
|
>
|
|
|
- <iframe ref="editorIframe" src="http://localhost:88/env-area"></iframe>
|
|
|
+ <iframe ref="editorIframe" :src="envAreaEditorPageUrl"></iframe>
|
|
|
<ASpin v-if="!isIframeLoaded" class="center-loading env-area-editor-loading" :spinning="true" />
|
|
|
</AModal>
|
|
|
</template>
|