logan

Results issues of logan

### tdesign-common 版本 无 ### 重现链接 _No response_ ### 重现步骤 https://github.com/Tencent/tdesign-common/blob/e82c00ea8b279d5d7d8b122068c129ddc63e64ff/js/utils/helper.ts#L103-L137 阅读源代码一直很奇怪,为什么不使用 String.length方法来判断长度,而是特意判断了英文中文,这里面的深意是? ### 期望结果 _No response_ ### 实际结果 _No response_ ### 框架版本 _No response_ ### 浏览器版本 _No response_ ###...

im a software engineer from china. as you konw,china own the GFW,and i d like to talk with someone with english. no matter where are you from(first language with english...

npm install http-proxy is error ,but i found its maybe rename node-http-proxy. you should npm install node-http-proxy

docs

thanks for this project,it helpful!!! im confused casue this slot attritube in slot. i thought it's useless,but maybe it just i can't understand? please note it. 首先非常高兴能够用到这个项目。对我的代码开发非常有用。 但是我在看到下面的代码的时候,非常困惑,我认为这是一个无用的属性slot。但是也许这是什么特殊的设置呢? https://github.com/sendya/ant-design-pro-vue/blob/fbfd39b11ee7a2ad6ca238d966c6b4385d49e1e2/src/components/page/PageLayout.vue#L5

to.meta && (typeof to.meta.title !== 'undefined' && setDocumentTitle(`${to.meta.title} - ${domTitle}`)) 这一行代码是什么意思? 我大概理解了一下不知道对不对, 首先 to.meta一定要为真值 其次 typeof to.meta.title !== 'undefined' 和执行方法返回值也为真值 但是后续就看不懂了,既没有if else控制流程语句,也没有其他的代码控制

question

### 重现链接 https://codesandbox.io/s/tdesign-vue-demo-forked-6unbwn?from-embed=&file=/src/demo.vue ### 重现步骤 https://codesandbox.io/s/tdesign-vue-demo-forked-6unbwn?from-embed=&file=/src/demo.vue 1. 悬停在在表格中,平台列字段,会显示按钮元素。 2. 悬停显示的按钮,无法顺利的选择伴随按钮展开的dropdown组件。 ### 期望结果 从理论上来说,表格的事件监听移出到了dropdown元素中,移出后应当继续隐藏按钮中组件; 但是对于常用的表格和更多按钮的组合,期待有简单的方案来组合组件来实现功能~ ### 实际结果 详见图片 | Environment | Info | |---|---| | 相关版本 | 0.43.2 | | 框架版本...

### 重现链接 https://github.com/loganylwu/tDesign-bugs ### 重现步骤 点击首页按钮 【点击触发bug】 即可观察到在1s后,页面路由进行了切换,但是DOM并没有销毁。 ### 期望结果 期望DOM伴随着组件的销毁而销毁。 ### 实际结果 路由切换了,但是组件并未销毁。 ### 补充说明 我观察到源代码里面有一行 setTimeout https://github.com/Tencent/tdesign-vue-next/blob/1d2d5b2deeb5a6c04e3389707a97f1e7ec6eca49/src/dialog/dialog.tsx#L214 在Dialog组件中,销毁的时间是在150ms后,但是在150ms后,组件实例已经由于路由切换而销毁了, 此时应无法利用ref属性成功的找到对应的DOM元素而进行清除。 建议去除setTimeout。 考虑到可能会有动画效果,建议使用CSS动画来实现。 | Environment | Info | |---|---| |...

to be published

### tdesign-vue 版本 1.0.7 ### 重现链接 https://stackblitz.com/edit/angular-2zyfxw-cf82ib?file=package.json,src%2Fdemo.vue ### 重现步骤 ### 期望结果 正常出现下拉框 ### 实际结果 点击外围无法正常出现下拉框(而是被认为选中的radio) ### 框架版本 1.0.7 ### 浏览器版本 109.0.5414.87(正式版本) (arm64) 任意即可 ### 系统版本 mac 12.5.1 ### Node版本 node...

### 重现链接 https://tdesign.tencent.com/vue/components/dropdown 参考操作手法 https://github.com/Tencent/tdesign-vue/issues/2598#issuecomment-1643350965 经过我测试发现,其实在https://github.com/Tencent/tdesign-vue/issues/2352 是最稳定的复现逻辑了,错误原因也是一样 ### 重现步骤 复现步骤比较麻烦,请参考视频 ### 期望结果 悬停能正常显示 ### 实际结果 悬停不能正常显示 | Environment | Info | |---|---| | 相关版本 | 1.4.8 | | 框架版本 /...

to be published

https://github.com/Tencent/tdesign-vue/blob/49fe24e02335052aa72408a341e19e816494ff12/src/hooks/useResizeObserver.ts#L4