@fangzhongya/fang-ui 0.1.60 → 0.1.61

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.
@@ -11,8 +11,7 @@ function useModel(props, emit, defaultValue, filter = (value) => value) {
11
11
  });
12
12
  return vue.computed({
13
13
  get() {
14
- const v = hasExternalValue.value ? props.modelValue : internalValue.value;
15
- return filter(v);
14
+ return hasExternalValue.value ? props.modelValue : internalValue.value;
16
15
  },
17
16
  set(v) {
18
17
  if (hasExternalValue.value) {
@@ -9,8 +9,7 @@ function useModel(props, emit, defaultValue, filter = (value) => value) {
9
9
  });
10
10
  return computed({
11
11
  get() {
12
- const v = hasExternalValue.value ? props.modelValue : internalValue.value;
13
- return filter(v);
12
+ return hasExternalValue.value ? props.modelValue : internalValue.value;
14
13
  },
15
14
  set(v) {
16
15
  if (hasExternalValue.value) {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "prefix": "fang-ui",
3
3
  "info": {},
4
- "lastModified": 1768224508437,
4
+ "lastModified": 1768225117884,
5
5
  "icons": {
6
6
  "bar": {
7
7
  "body": " <path fill=\"currentColor\" d=\"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z\" ></path> "
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fangzhongya/fang-ui",
3
3
  "private": false,
4
- "version": "0.1.60",
4
+ "version": "0.1.61",
5
5
  "type": "module",
6
6
  "description ": "fang-ui",
7
7
  "keywords": [
@@ -51,13 +51,13 @@
51
51
  "vue-tsc": "^3.2.2",
52
52
  "vxe-table": "4.6.20",
53
53
  "@fang-ui/components": "0.0.1-0",
54
- "@fang-ui/icons": "0.0.1-0",
55
- "@fang-ui/hooks": "0.0.1-0",
56
54
  "@fang-ui/directives": "0.0.1-0",
57
- "@fang-ui/theme": "0.0.1-0",
58
- "@fang-ui/types": "0.0.1-0",
55
+ "@fang-ui/hooks": "0.0.1-0",
56
+ "@fang-ui/icons": "0.0.1-0",
59
57
  "@fang-ui/locale": "0.0.1-0",
60
- "@fang-ui/utils": "0.0.1-0"
58
+ "@fang-ui/theme": "0.0.1-0",
59
+ "@fang-ui/utils": "0.0.1-0",
60
+ "@fang-ui/types": "0.0.1-0"
61
61
  },
62
62
  "main": "./dist/index.cjs",
63
63
  "module": "./dist/index.js",
File without changes
File without changes
File without changes