cosey 0.10.19 → 0.10.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -66,6 +66,10 @@ var stdin_default = defineComponent({
66
66
  onSuccess(res) {
67
67
  tableData.value = (tableKeys.list ? get(res, tableKeys.list) : res) || [];
68
68
  total.value = +get(res, tableKeys.total) || 0;
69
+ const el = document.querySelector(`.${popperId} .el-scrollbar__wrap`);
70
+ if (el) {
71
+ el.scrollTop = 0;
72
+ }
69
73
  },
70
74
  onFinally() {
71
75
  isFirstFetch.value = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cosey",
3
- "version": "0.10.19",
3
+ "version": "0.10.20",
4
4
  "description": "基于 Vue3 + vite 的后台管理系统框架",
5
5
  "type": "module",
6
6
  "main": "index.js",