update:cid样式兼容

This commit is contained in:
2025-11-18 09:47:47 +08:00
parent 40ff4ef7a8
commit 5de583b81b
4 changed files with 14 additions and 13 deletions

View File

@@ -65,6 +65,7 @@
"vuedraggable": "^4.1.0",
"vxe-pc-ui": "^4.10.9",
"vxe-table": "^4.17.2",
"wujie-polyfill": "^1.1.3",
"wujie-vue3": "^1.0.29"
},
"devDependencies": {

View File

@@ -36,9 +36,9 @@
}
// 为了解决子应用定位样式错位
// .el-scrollbar {
// position: static !important;
// .layout-parent {
// position: static !important;
// }
// }
.el-scrollbar {
position: static !important;
.layout-parent {
position: static !important;
}
}

View File

@@ -13,6 +13,7 @@
USER_ID,
USER_INFO_DATA
}"
:plugins="[DocElementRectPlugin()]"
/>
</template>
@@ -21,7 +22,8 @@ import { watch } from 'vue';
import { useRoute } from 'vue-router';
import WujieVue from "wujie-vue3";
import Cookies from 'js-cookie';
import { SPDM_URL } from '../config'
import { SPDM_URL } from '../config';
import { DocElementRectPlugin } from 'wujie-polyfill';
const USER_INFO_DATA = Cookies.get('cid_user_info');
const USER_ID = Cookies.get('cid_user_id');

View File

@@ -3,7 +3,7 @@
class="wujie-content"
name="spdm"
:url="SPDM_URL"
:sync="false"
:sync="false"
:degrade="false"
:alive="false"
:preload="true"
@@ -18,7 +18,7 @@
</template>
<script setup lang="ts">
import WujieVue from "wujie-vue3";
import WujieVue from 'wujie-vue3';
import Cookies from 'js-cookie';
import { SPDM_URL } from '../config';
@@ -41,14 +41,12 @@ const props = withDefaults(defineProps<Props>(), {
processId: '',
});
const url = ref('');
bus.$on('SPMD_LOADED', () => {
bus.$emit('ROUTER_CHANGE', {
path: '/spdm/approvalPreview',
query: {
processId: props.processId,
}
},
});
});
</script>
@@ -57,4 +55,4 @@ bus.$on('SPMD_LOADED', () => {
.wujie-content {
height: 100%;
}
</style>
</style>