@peng_kai/kit 0.2.7 → 0.2.8

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.
@@ -1,5 +1,4 @@
1
1
  <script lang="ts">
2
- import { reactiveComputed } from '@vueuse/core';
3
2
  import { cloneDeep, mapKeys, mapValues } from 'lodash-es';
4
3
  import { Button, Card, CheckboxGroup, DatePicker, type DatePickerProps, Form, FormItem, Input, InputNumber, RadioGroup, RangePicker, Select, Textarea } from 'ant-design-vue';
5
4
  import { computed, ref, toRef } from 'vue';
@@ -196,7 +195,7 @@ const settingMutator = useMutation({
196
195
  queryClient.invalidateQueries({ queryKey: [props.configApi.id], exact: false });
197
196
  },
198
197
  });
199
- const formSchema = reactiveComputed(() => {
198
+ const formSchema = computed(() => {
200
199
  const _configList = configList.value ?? [];
201
200
  const entries = _configList.map(config => [
202
201
  config.key,
@@ -103,7 +103,6 @@ function useAntdForm<S extends Record<string, unknown>, TS = S>(schemas: MaybeRe
103
103
  _state[k] = (k in state.value) ? toRef(state.value, k) : toRef(item, 'value');
104
104
  }
105
105
 
106
- console.log('🤡 / _state:', _state);
107
106
  state.value = _state;
108
107
  }, { immediate: true });
109
108
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@peng_kai/kit",
3
3
  "type": "module",
4
- "version": "0.2.7",
4
+ "version": "0.2.8",
5
5
  "description": "",
6
6
  "author": "",
7
7
  "license": "ISC",