chore: 无界渲染适配器改为默认不降级
This commit is contained in:
@@ -62,7 +62,7 @@ export default defineComponent({
|
||||
type: Number,
|
||||
},
|
||||
degrade: {
|
||||
default: true,
|
||||
default: false,
|
||||
type: Boolean,
|
||||
},
|
||||
fileId: {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user