chore: 无界渲染适配器改为默认不降级

This commit is contained in:
wangxuefeng
2025-03-24 10:17:40 +08:00
parent cfc925b3e6
commit 29e31c912b
4 changed files with 3 additions and 5 deletions

View File

@@ -62,7 +62,7 @@ export default defineComponent({
type: Number,
},
degrade: {
default: true,
default: false,
type: Boolean,
},
fileId: {

View File

@@ -5,7 +5,6 @@ import type { Router, RouteRecordRaw } from 'vue-router';
import { computed, onBeforeUnmount, onMounted } from 'vue';
import { InstanceofPlugin } from 'wujie-polyfill';
import WujieVue from 'wujie-vue3';
// @ts-ignore ignore the type error
@@ -31,8 +30,7 @@ const props = withDefaults(
url?: string;
}>(),
{
// 默认 wujie 降级,能避免很多兼容问题
degrade: true,
degrade: false,
// 默认不使用拦截器
interceptors: () => ({}),
// 默认不使用 name