Browse Source

chore: 修改微应用渲染id,避免id冲突

master
wangxiang 2 years ago
parent
commit
7ca4c2cc5b
  1. 2
      src/layouts/page/index.vue
  2. 2
      src/qiankun/apps.ts
  3. 2
      src/views/workflow/extension/form/helper/WorkflowFormDesign.vue

2
src/layouts/page/index.vue

@ -22,7 +22,7 @@ @@ -22,7 +22,7 @@
</template>
</RouterView>
<FrameLayout v-if="getCanEmbedIFramePage"/>
<div v-if="openQianKun" id="content"/>
<div v-if="openQianKun" id="microAppContent"/>
</template>
<script lang="ts">

2
src/qiankun/apps.ts

@ -14,7 +14,7 @@ for (const key in import.meta.env) { @@ -14,7 +14,7 @@ for (const key in import.meta.env) {
const obj = {
name,
entry: import.meta.env[key],
container: '#content',
container: '#microAppContent',
activeRule: name,
};
_apps.push(obj);

2
src/views/workflow/extension/form/helper/WorkflowFormDesign.vue

@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
<script lang="ts" setup>
import { reactive } from 'vue';
import { BasicModal, ModalProps, useModalInner } from '/@/components/Modal';
import { loadMicroApp, MicroApp } from 'qiankun';
import { loadMicroApp } from 'qiankun';
interface TableState {
tag: string;

Loading…
Cancel
Save