摘要: 首先是引入乾坤 npm i qiankun -S 在main.js中,引入乾坤 import { registerMicroApps,runAfterFirstMounted,addGlobalUncaughtErrorHandler } from 'qiankun'; 注册 registerMic 阅读全文
posted @ 2021-12-18 16:20 龙丶谈笑风声 阅读(2822) 评论(0) 推荐(0)
摘要: CREATE DEFINER=`root`@`%` FUNCTION `queryChildrenSuiteIds`(suiteId varchar(20)) RETURNS varchar(4000) CHARSET utf8 BEGIN DECLARE childSuiteIds VARCHAR 阅读全文
posted @ 2021-12-18 15:46 龙丶谈笑风声 阅读(313) 评论(0) 推荐(0)
摘要: CREATE DEFINER=`root`@`%` FUNCTION `queryParentDepts`(parentId varchar(20)) RETURNS varchar(4000) CHARSET utf8 BEGIN DECLARE sTemp VARCHAR(4000); DECL 阅读全文
posted @ 2021-12-18 15:45 龙丶谈笑风声 阅读(141) 评论(0) 推荐(0)
摘要: 在主应用中会增加shadowRoot,因此document.getElementById("asideId")是无法获得节点的 正确使用:document.getElementById("sonList").firstElementChild.shadowRoot.getElementById("a 阅读全文
posted @ 2021-12-16 17:50 龙丶谈笑风声 阅读(99) 评论(0) 推荐(0)
摘要: 首先在setup中定义一个类 const widthData=reactive({ with:500 }); 然后编写方法: const updateWidth=()=>{ let resize= document.getElementById("asideId"); console.log(res 阅读全文
posted @ 2021-12-02 16:55 龙丶谈笑风声 阅读(2924) 评论(0) 推荐(0)
摘要: 原文地址:'https://bhuh12.github.io/vue-router-tab/zh/api/ API - RouterTab #<router-tab> 配置参数 #tabs 初始页签数据,进入页面时默认显示的页签。相同 key 的页签只保留第一个 类型: Array <String 阅读全文
posted @ 2021-12-02 15:37 龙丶谈笑风声 阅读(345) 评论(0) 推荐(0)
摘要: 原文地址:https://bhuh12.github.io/vue-router-tab/zh/guide/meta/solutions.html 解决方案 Vue Router Tab 实现过程中遇到的问题及解决方案,也欢迎提出更好的点子。 相同路由需要根据 route.params 或 rout 阅读全文
posted @ 2021-12-02 15:32 龙丶谈笑风声 阅读(612) 评论(0) 推荐(0)
摘要: 原地址:https://bhuh12.github.io/vue-router-tab/zh/guide/advanced/cache.html#%E9%A1%B5%E7%AD%BE%E7%BC%93%E5%AD%98 缓存控制 页签缓存 RouterTab 默认会缓存每个页签的页面 您可以设置 R 阅读全文
posted @ 2021-12-02 15:31 龙丶谈笑风声 阅读(1218) 评论(0) 推荐(0)
摘要: 原文地址:https://bhuh12.github.io/vue-router-tab/zh/guide/custom/transition.html 过渡效果 您可以通过配置 RouterTab 组件的 tab-transition 和 page-transition 属性,分别替换默认的页签和 阅读全文
posted @ 2021-12-02 15:25 龙丶谈笑风声 阅读(644) 评论(0) 推荐(0)
摘要: 页签规则 页签规则定义了路由打开页签的方式。 通过配置路由的 meta.key 属性,您可以定制路由页签规则 默认规则 默认情况下,同一路由打开同一个页签 内置规则 path 规则:route => route.path 说明:相同 route.params 的路由,route.path 一致,共用 阅读全文
posted @ 2021-12-02 15:14 龙丶谈笑风声 阅读(705) 评论(0) 推荐(0)