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

关于高级查询组件j-super-query缓存问题 #6205

Closed
NameAce opened this issue May 5, 2024 · 3 comments
Closed

关于高级查询组件j-super-query缓存问题 #6205

NameAce opened this issue May 5, 2024 · 3 comments

Comments

@NameAce
Copy link

NameAce commented May 5, 2024

版本号:

3.4.3

分支: master?还是springboot3?

master

前端版本: vue3版?还是 vue2版?

vue2版

问题描述:

目前在使用j-super-query的过程中,遇到了一个问题:

我们保存的查询是缓存在浏览器的Local storage中,当我们清除浏览器缓存时,保存的查询也会随之清除。
但是可能存在一些查询比较复杂的页面,我并不想只保存在浏览器。肯定是会考虑存到数据库,redis中,同时对这些保存的查询,也希望做到权限的控制(部门,角色……)。

在vue2的版本中,j-super-query是开源的,以上所说的问题,我可以自己去改动这个组件,实现我想要的功能。
但是在vue3的版本中,该组件不开源了,以上所说的问题应该就没法实现了。
不知道团队针对我说的这个问题,有没有什么更好的方案或建议。有没有可能在未来版本实现。谢谢!

有什么没描述清楚的请说明,不要直接关闭,谢谢!

截图&代码:

image
image

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖、描述过于简抽象的,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 针对问题请说明是Online在线功能(需说明用的主题模板),还是生成的代码功能;
  • springboot3_sas分支采用 Spring Authorization Server 替换 Shiro,目前是beta版不稳定,生产项目不要使用;
@zhangdaiscott
Copy link
Member

zy

@liaozhiyang
Copy link

已解决,下一版本发布。
增加了三个参数,能接受传给组件的查询条件,点保存按钮时把保存的查询条件数据能传给组件外面。这应该就能实现你要的效果了。

参数说明:
image

编码:
image
image

@NameAce
Copy link
Author

NameAce commented May 14, 2024

感谢!

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

No branches or pull requests

3 participants