This commit is contained in:
神仙都没用 2025-03-04 16:05:40 +08:00
parent 28b2a6c322
commit 721a2434fa

View File

@ -1,6 +1,6 @@
<template> <template>
<iframe <iframe
:src="`${helper.index}${path}`" :src="`${helper.index}${path}?lang=${ctx.serviceLang}`"
class="iframe" class="iframe"
:class="{ 'is-hide': hide }" :class="{ 'is-hide': hide }"
ref="iframeRef" ref="iframeRef"
@ -13,6 +13,7 @@ defineOptions({ name: 'ai-code-dev' });
import { onMounted, onUnmounted, ref } from 'vue'; import { onMounted, onUnmounted, ref } from 'vue';
import { module } from '/@/cool'; import { module } from '/@/cool';
import { isString } from 'lodash-es'; import { isString } from 'lodash-es';
import { ctx } from 'virtual:ctx';
defineProps({ defineProps({
path: String, path: String,