wui-components-v2 1.0.77 → 1.0.78

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.
@@ -93,7 +93,7 @@ function handleSubmit() {
93
93
  :rules="[{ required: true, message: '请填写用户名' }]"
94
94
  />
95
95
  <wd-input
96
- v-model="model.password" label="密码" label-width="100px" prop="password" show-password clearable
96
+ v-model="model.password" label="密码" label-width="100px" prop="password" clearable show-password
97
97
  placeholder="请输入密码" :rules="[{ required: true, message: '请填写密码' }]"
98
98
  />
99
99
  <view class="p-4 pb-0 pt-0">
@@ -551,7 +551,7 @@ function rowEdit(group: Groups, field: Entities) {
551
551
  */
552
552
  function canClick(group: Groups) {
553
553
  if (group.max) {
554
- if (pageConfig.value.entity.arrayMap[group.id] && pageConfig.value.entity.arrayMap[group.id].length >= group.max) {
554
+ if (pageConfig.value.entity && pageConfig.value.entity.arrayMap[group.id] && pageConfig.value.entity.arrayMap[group.id].length >= group.max) {
555
555
  return true
556
556
  }
557
557
  else {
@@ -3,7 +3,6 @@ import type { PropType } from 'vue'
3
3
  import { computed, defineOptions, defineProps, ref } from 'vue'
4
4
  import { useRouter } from 'uni-mini-router'
5
5
  import { onShow } from '@dcloudio/uni-app'
6
- import { set } from '@vueuse/core'
7
6
  import { menu } from '../../api/menu'
8
7
  import DemoCard from '../demo-card/demo-card.vue'
9
8
  import { useManualTheme } from '../../composables/useManualTheme'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wui-components-v2",
3
- "version": "1.0.77",
3
+ "version": "1.0.78",
4
4
  "description": "wui 组件库",
5
5
  "author": "wgxshh",
6
6
  "license": "MIT",