Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复&优化 #645

Merged
merged 1 commit into from
Feb 28, 2025
Merged

修复&优化 #645

merged 1 commit into from
Feb 28, 2025

Conversation

Quirrel-zh
Copy link
Contributor

Motivation

1、由于tooltip移入时会消失无法点击其中链接,更改为按钮出发。
2、修复了由于已安装插件与插件市场中name不一致或repo链接大小写不一致导致的检测不到是否安装或有更新的bug

Modifications

1、将v-tooltip作为纯提示,跳转方式更改为父级v-btn按钮触发(line-97 ~ line-106)
2、将复杂的嵌套循环优化为单次循环,将时间复杂度从O(n*m)降低到O(n+m),并将repo字符串统一为小写形式使比较更加一致和准确(line-430 ~ line-459 && line-634 ~ line-643)

	1、由于tooltip移入时会消失无法点击其中链接,更改为按钮出发
	2、修复了由于已安装插件与插件市场中name不一致或repo链接大小写不一致导致的检测不到是否安装或有更新的bug
@Soulter
Copy link
Owner

Soulter commented Feb 28, 2025

感谢!

@Soulter Soulter merged commit f4f492a into Soulter:master Feb 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants