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

@ -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,
}; };
}, },

View File

@ -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: [

View File

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

View File

@ -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