chore: 无界渲染适配器改为默认不降级
This commit is contained in:
parent
cfc925b3e6
commit
29e31c912b
@ -53,6 +53,7 @@ const routes: Array<RouteRecordRaw> = [
|
|||||||
fileId: '45ucatjys',
|
fileId: '45ucatjys',
|
||||||
projectId: LOW_CODE_PROJECT_ID,
|
projectId: LOW_CODE_PROJECT_ID,
|
||||||
getRouter: () => router,
|
getRouter: () => router,
|
||||||
|
degrade: false,
|
||||||
route,
|
route,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
@ -11,7 +11,6 @@ const routes: RouteRecordRaw[] = [
|
|||||||
name: 'StaticFile',
|
name: 'StaticFile',
|
||||||
meta: {
|
meta: {
|
||||||
icon: 'ant-design:file',
|
icon: 'ant-design:file',
|
||||||
order: 2,
|
|
||||||
title: '静态文件管理',
|
title: '静态文件管理',
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
@ -62,7 +62,7 @@ export default defineComponent({
|
|||||||
type: Number,
|
type: Number,
|
||||||
},
|
},
|
||||||
degrade: {
|
degrade: {
|
||||||
default: true,
|
default: false,
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
},
|
},
|
||||||
fileId: {
|
fileId: {
|
||||||
|
|||||||
@ -5,7 +5,6 @@ import type { Router, RouteRecordRaw } from 'vue-router';
|
|||||||
|
|
||||||
import { computed, onBeforeUnmount, onMounted } from 'vue';
|
import { computed, onBeforeUnmount, onMounted } from 'vue';
|
||||||
|
|
||||||
import { InstanceofPlugin } from 'wujie-polyfill';
|
|
||||||
import WujieVue from 'wujie-vue3';
|
import WujieVue from 'wujie-vue3';
|
||||||
|
|
||||||
// @ts-ignore ignore the type error
|
// @ts-ignore ignore the type error
|
||||||
@ -31,8 +30,7 @@ const props = withDefaults(
|
|||||||
url?: string;
|
url?: string;
|
||||||
}>(),
|
}>(),
|
||||||
{
|
{
|
||||||
// 默认 wujie 降级,能避免很多兼容问题
|
degrade: false,
|
||||||
degrade: true,
|
|
||||||
// 默认不使用拦截器
|
// 默认不使用拦截器
|
||||||
interceptors: () => ({}),
|
interceptors: () => ({}),
|
||||||
// 默认不使用 name
|
// 默认不使用 name
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user