chore: 无界渲染适配器改为默认不降级
This commit is contained in:
parent
cfc925b3e6
commit
29e31c912b
@ -53,6 +53,7 @@ const routes: Array<RouteRecordRaw> = [
|
||||
fileId: '45ucatjys',
|
||||
projectId: LOW_CODE_PROJECT_ID,
|
||||
getRouter: () => router,
|
||||
degrade: false,
|
||||
route,
|
||||
};
|
||||
},
|
||||
|
@ -11,7 +11,6 @@ const routes: RouteRecordRaw[] = [
|
||||
name: 'StaticFile',
|
||||
meta: {
|
||||
icon: 'ant-design:file',
|
||||
order: 2,
|
||||
title: '静态文件管理',
|
||||
},
|
||||
children: [
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user