袁进勇

Results 11 comments of 袁进勇

``` project.tasks.docker.with { commandLine getDockerBuildCmd() doFirst { logger.lifecycle("${commandLine.join(' ')}") } } ``` ``` def getDockerBuildCmd() { def buildCommandLine = ['docker', 'buildx', 'build', '--load', '--platform', 'linux/amd64'] if (docker.noCache) { buildCommandLine.add '--no-cache'...

Agree with this suggestion.

Released [0.33.0](https://github.com/palantir/gradle-docker/releases/tag/0.33.0) #470 #528

我这里使用Vue 3.2.41 + element-plus 2.2.26,首次显示不卡,但是点击按钮,切换左侧菜单的收起展开就很卡,要10多秒钟才能出来(我的菜单树形结构有4层,数量非常多) 根据@kooriookami说的与Chromium内核有关,我用操作系统自带的Edge浏览器,展开折叠不卡。用360浏览器(内核版本86的)也不会卡,用QQ浏览器(内核版本94的)也会卡,但卡的时间没有Chrome的久,Chrome的版本是107的。 在Vue Devtool中查看了一下,主要是patch非常耗时 后来edge版本升级到108.0.1462.46,折叠展开也卡了。 ![image](https://user-images.githubusercontent.com/10379525/207016796-8fb6bbf7-2571-447e-a43c-7832737eecd7.png)

我使用的时候是用函数组件封装透传了一下,这样方便些树形结构的递归生成 ``` import {h, resolveComponent} from 'vue' import 'assets/css/jy-menu.scss' function buildMenuItemList(menuList, level) { const nodes = [] menuList.forEach(menu => { if (menu.f_type === 1 && menu.children?.length > 0) { nodes.push(...

![image](https://user-images.githubusercontent.com/10379525/207016060-3dbecd27-bd66-47f1-a365-3697a7c24641.png)

菜单少的时候不卡,我换另外一个权限少的账号登录,切换展开折叠就不卡。 > 数据太多是会卡顿的,Chromium内核数据少也会卡顿。

> > 有没有人遇到展开折叠,文字会过一秒左右才消失或者显示,我录了一个gif在下面的链接 https://s2.loli.net/2022/08/09/DXKJV4I9df1M5zr.gif > > Find the text style animation to make it disappear faster @lvminjie5201314 这个是把 collapse-transition 设置为false,就不会出现这个现象了。

我这边把图标字体大小和菜单文字的都改为14px,仍旧很卡。而且我不是用的element自带的字体图标,试过把图标去掉,也卡。