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

切换tab标签默认缓存无效,导致切换tab查询参数丢失 #394

Closed
7 of 10 tasks
Tany1iver opened this issue Apr 12, 2024 · 2 comments
Closed
7 of 10 tasks

Comments

@Tany1iver
Copy link

Tany1iver commented Apr 12, 2024

感谢您支持fast-crud,请按如下规范提交issue
如果有条件,请尽量在github上提交

一、问题描述

请在此处简要描述你所遇到的问题,必要时请贴出相关截图辅助理解和定位

  1. 多个tab标签切换 缓存不生效
    输入图片说明
  2. 打开新的标签
    输入图片说明
  3. 切换回原来的标签 查询参数丢失
    输入图片说明

复现步骤

请描述复现问题的详细步骤
如果非示例页面的问题,最好能提供最小复现示例的代码、或者仓库链接

代码截图

请贴出出错的相关代码截图
输入图片说明

报错截图

请贴出报错日志截图

效果截图

请贴出效果截图

1. 期望效果

有缓存的tab 标签 查询参数不丢

2. 实际效果

查询参数丢失,导致体验下降

二、当前使用的库版本

1. fast-crud版本:

请您填写fast-crud的版本

2. 使用的ui库以及版本

中括号中输入x即选中,或者删除其他,仅保留你正使用的ui库

  • Antdv (版本号: )
  • ElementPlus(版本号: )
  • NaiveUI(版本号: )

3. 使用的admin框架

请您填写您当前使用的admin框架是哪一套

  • fs-admin-antdv
  • fs-admin-element
  • fs-admin-naive
  • fs-in-vben
  • vben-admin
  • cool-admin
  • 其他:请注明
@Tany1iver
Copy link
Author

三级路由会有缓存丢失问题 临时可通过这种方式解决
image

greper added a commit to fast-crud/fs-admin-element that referenced this issue Jun 8, 2024
greper added a commit to fast-crud/fs-admin-antdv4 that referenced this issue Jun 8, 2024
greper added a commit to fast-crud/fs-admin-antdv that referenced this issue Jun 8, 2024
@greper
Copy link
Contributor

greper commented Jun 8, 2024

示例已修复

@greper greper closed this as completed Jun 8, 2024
greper added a commit to certd/certd that referenced this issue Jun 9, 2024
build: publish success
fix: 修复三级以上路由页面无法缓存的问题

fast-crud/fast-crud#394
greper added a commit to certd/certd that referenced this issue Jun 15, 2024
perf: 优化antdv4 示例授权页面tree的样式
build: publish success
chore: 1
chore: 1
chore: 1
fix: getFileName支持item参数

fast-crud/fast-crud#385
fix: fs-form独立使用支持插槽

fast-crud/fast-crud#389
fix: 修复三级以上路由页面无法缓存的问题

fast-crud/fast-crud#394
perf: form.wrapper.buttons支持compute动态计算
feat: 表单支持变更关闭前提醒保存,form.wrapper支持beforeClose事件
fix: 修复图片裁剪按钮上下和左右相反的bug

fast-crud/fast-crud#402
perf: alioss getAuthorization接口支持后台返回key

fast-crud/fast-crud#405
perf: alioss getAuthorization接口支持后台返回key

fast-crud/fast-crud#405
perf: fs-dict-tree支持插槽

fast-crud/fast-crud#407
perf: 单选、多选、select、tree-select、table-select 都提供selected-change事件,可以获取选中的dict选项
feat: table-select 支持查看模式

fast-crud/fast-crud#413
perf: 优化fs-admin可以在手机上操作
chore: pnpm workspace问题优化
docs: 1
chore: antdv4 支持主题色选择
...
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

2 participants