mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-14 14:52:49 +00:00
优化
This commit is contained in:
parent
28b2a6c322
commit
721a2434fa
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user