chore: 渲染器调试

This commit is contained in:
wangxuefeng
2025-03-21 19:54:59 +08:00
parent 6377c11721
commit e6b8146ee0
5 changed files with 197 additions and 127 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@sy/wujie-vue3-renderer-adapter",
"version": "1.0.0-alpha.7",
"version": "1.0.0-alpha.8",
"description": "wujie-vue3 ycode renderer adapter",
"type": "module",
"scripts": {
@@ -29,6 +29,7 @@
},
"dependencies": {
"licia-es": "catalog:",
"wujie-polyfill": "1.1.3",
"wujie-vue3": "1.0.22"
},
"devDependencies": {

View File

@@ -5,6 +5,7 @@ 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
@@ -60,6 +61,7 @@ const wujiePlugins = [
}
},
},
InstanceofPlugin(),
];
// 生命周期钩子