摘要: 在这里将他二级以上的路由扁平化即可 路由规则: import Layout from '../components/Layout/index.vue' import COM from '../components/index.vue' { path:'home'', name:'home', com 阅读全文
posted @ 2021-12-18 17:02 龙丶谈笑风声 阅读(563) 评论(0) 推荐(0) 编辑
摘要: 首先是引入乾坤 npm i qiankun -S 在main.js中,引入乾坤 import { registerMicroApps,runAfterFirstMounted,addGlobalUncaughtErrorHandler } from 'qiankun'; 注册 registerMic 阅读全文
posted @ 2021-12-18 16:20 龙丶谈笑风声 阅读(2582) 评论(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 龙丶谈笑风声 阅读(292) 评论(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 龙丶谈笑风声 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 在主应用中会增加shadowRoot,因此document.getElementById("asideId")是无法获得节点的 正确使用:document.getElementById("sonList").firstElementChild.shadowRoot.getElementById("a 阅读全文
posted @ 2021-12-16 17:50 龙丶谈笑风声 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 首先在setup中定义一个类 const widthData=reactive({ with:500 }); 然后编写方法: const updateWidth=()=>{ let resize= document.getElementById("asideId"); console.log(res 阅读全文
posted @ 2021-12-02 16:55 龙丶谈笑风声 阅读(2238) 评论(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 龙丶谈笑风声 阅读(265) 评论(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 龙丶谈笑风声 阅读(481) 评论(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 默认会缓存a56爆大奖在线娱乐页签的页面 您可以设置 R 阅读全文
posted @ 2021-12-02 15:31 龙丶谈笑风声 阅读(966) 评论(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 龙丶谈笑风声 阅读(561) 评论(0) 推荐(0) 编辑