|
@@ -5,13 +5,13 @@ import {ReportForms} from "@/api/reports/report-query-center";
|
|
import {pageHelpV2Mitt} from "@/views/data-base/page-editor-help-v2/page-help-v2";
|
|
import {pageHelpV2Mitt} from "@/views/data-base/page-editor-help-v2/page-help-v2";
|
|
import {useEventListener} from "@vueuse/core";
|
|
import {useEventListener} from "@vueuse/core";
|
|
import {xcMessage} from "@/utils/xiaochan-element-plus";
|
|
import {xcMessage} from "@/utils/xiaochan-element-plus";
|
|
-import {MAGIC_API} from "@/utils/database/magic-api-request";
|
|
|
|
|
|
+import {MAGIC_API_IFRAME} from "@/utils/database/magic-api-request";
|
|
|
|
|
|
const iframe = ref<HTMLIFrameElement>()
|
|
const iframe = ref<HTMLIFrameElement>()
|
|
// const src = 'http://192.168.56.1:8991'
|
|
// const src = 'http://192.168.56.1:8991'
|
|
// const src = import.meta.env.VITE_DATA_BASE + '/magic/web/index.html'
|
|
// const src = import.meta.env.VITE_DATA_BASE + '/magic/web/index.html'
|
|
|
|
|
|
-const src = `${MAGIC_API}/magic/web/index.html`
|
|
|
|
|
|
+const src = `${MAGIC_API_IFRAME}/magic/web/index.html`
|
|
|
|
|
|
function sendMessage(name: string, value: any) {
|
|
function sendMessage(name: string, value: any) {
|
|
const data = {
|
|
const data = {
|