wui-components-v2 1.1.21 → 1.1.23

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.
@@ -38,7 +38,7 @@ const model = ref<any>({})
38
38
  const fields = computed(() => {
39
39
  return props.fieldGroup?.fields.filter((item) => {
40
40
  // return !item.title?.includes('y')
41
- return item
41
+ return !item.title?.endsWith('y')// 排除字符串的最后一个字符为y的项
42
42
  })
43
43
  })
44
44
  // 初始化表单数据
@@ -15,7 +15,7 @@ const props = defineProps<Props>()
15
15
  // 定义 Props 类型
16
16
  interface Props {
17
17
  tabbarItems: TabbarItem[]
18
- showRagister: boolean
18
+ showRagister?: boolean
19
19
  }
20
20
  const subloading = ref(false)
21
21
  const router = useRouter()
@@ -14,7 +14,7 @@ const props = defineProps<Props>()
14
14
  interface Props {
15
15
  tabbarItems: TabbarItem[]
16
16
  loginlog: any
17
- showRagister: boolean
17
+ showRagister?: boolean
18
18
  }
19
19
  const {
20
20
  currentThemeColor,
@@ -12,7 +12,7 @@ const props = defineProps<{
12
12
  loginlog: string
13
13
  loginBackgroundimg: string
14
14
  tabbarItems: TabbarItem[]
15
- showRagister: boolean
15
+ showRagister?: boolean
16
16
 
17
17
  }>()
18
18
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wui-components-v2",
3
- "version": "1.1.21",
3
+ "version": "1.1.23",
4
4
  "description": "wui 组件库",
5
5
  "author": "wgxshh",
6
6
  "license": "MIT",