cosey 0.2.6 → 0.2.7

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.
@@ -118,7 +118,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
118
118
  onSuccess(res) {
119
119
  res = props.afterFetch?.(res) || res;
120
120
  tableData.value = (tableKeys.list ? get(res, tableKeys.list) : res) || [];
121
- total.value = get(res, tableKeys.total) || 0;
121
+ total.value = +get(res, tableKeys.total) || 0;
122
122
  elTableRef.value?.setScrollTop(0);
123
123
  },
124
124
  onFinally() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cosey",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "基于 Vue3 + vite 的后台管理系统框架",
5
5
  "type": "module",
6
6
  "main": "index.js",