@kengic/vue 0.19.2-beta.3 → 0.19.2-beta.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -2930,7 +2930,7 @@ const emptyIcon = {
2930
2930
  ...t.data
2931
2931
  }, r);
2932
2932
  }
2933
- }), version = "0.19.2-beta.3";
2933
+ }), version = "0.19.2-beta.4";
2934
2934
  var isVue2 = !1;
2935
2935
  function set(e, t, r) {
2936
2936
  return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, r), r) : (e[t] = r, r);
@@ -10307,13 +10307,12 @@ const KgTable$1 = "", getProps$y = () => ({
10307
10307
  total: Ae
10308
10308
  } = v(ye), Ie = await o.store.emit(s.formID, "beforeSetDatas", {
10309
10309
  datas: Ee
10310
- });
10310
+ }), ke = cloneDeep(L.value);
10311
10311
  o.store.setDatas({
10312
10312
  frmId: s.formID,
10313
- datas: Ee.value
10314
- }), O.total = Ae.value;
10315
- const ke = cloneDeep(L.value);
10316
- d.value = {}, x({
10313
+ datas: Ee.value,
10314
+ isPreserveSelectedRows: !0
10315
+ }), O.total = Ae.value, d.value = {}, x({
10317
10316
  isContinueWhenKgDisabled: !0
10318
10317
  }), c.value = [], await nextTick(), B.isPreserveSelectedRows ? o.store.setSelectedRows(s.formID, ke.map((Se) => {
10319
10318
  var q;
@@ -702,7 +702,7 @@ export declare const useKgTableStore: import("pinia").StoreDefinition<"KgTable",
702
702
  * 设置列表数据.
703
703
  * @param param.frmId 界面标识.
704
704
  * @param param.datas 列表数据.
705
- * @param param.isPreserveSelectedRows 是否保留行的勾选状态.
705
+ * @param param.isPreserveSelectedRows 是否保留行的勾选状态. 默认为 false.
706
706
  */
707
707
  setDatas<T_2 = any>(param: {
708
708
  frmId: string | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.19.2-beta.3",
3
+ "version": "0.19.2-beta.4",
4
4
  "scripts": {
5
5
  "build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",