wui-components-v2 1.0.71 → 1.0.73

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.
@@ -61,7 +61,7 @@ async function action() {
61
61
  <formControl v-if="props.fieldGroup" ref="formControlRef" :field-group="props.fieldGroup" />
62
62
  <view class="h-44px .dark:bg-gray-900 .light:bg-white" />
63
63
  <view class="fixed bottom-0 left-0 right-0 box-border w-100% flex p-2 .dark:bg-gray-900 .light:bg-white">
64
- <wd-button :loading="btnLoading" class="flex-1" @click="() => { action() }">
64
+ <wd-button :loading="btnLoading" custom-class="flex-1" @click="() => { action() }">
65
65
  提交
66
66
  </wd-button>
67
67
  </view>
@@ -54,8 +54,7 @@ const labelColumns = computed(() => {
54
54
  const collapseIcon = ref('arrow-down')
55
55
  // 切换折叠内容
56
56
  function toggleCollapse(contentId: string) {
57
- const content = contentRef.value
58
- console.log(contentId, content.textContent)
57
+ console.log(contentId)
59
58
  if (collapseIcon.value === 'arrow-down') {
60
59
  const { collapseNum } = props
61
60
  const num = collapseNum || 2
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { computed, defineOptions, defineProps, onMounted, ref, toRaw, watch } from 'vue'
2
+ import { computed, defineOptions, defineProps, ref, toRaw } from 'vue'
3
3
  import { useRouter } from 'uni-mini-router'
4
4
  import { generateHighResolutionID } from '../../utils/index'
5
5
  import type { FoldCardModel } from '../../type'
@@ -85,7 +85,7 @@ function handleSubmit() {
85
85
  <formControl ref="formControlRef" :field-group="{ fields: filterCriterias, readOnly: false, displayConfig: [], id: '', buttons: [], title: '', type: '', pointSourceId: '', mstrucId: '', relationNames: [] }" :entity="entity" :enum-column="enumColumn" />
86
86
  <view class="h-12" />
87
87
  <view class="fixed bottom-0 left-0 right-0 box-border w-100% flex p-2 .dark:bg-gray-900 .light:bg-white">
88
- <wd-button class="flex-1" @click="handleSubmit">
88
+ <wd-button block custom-class="flex-1" @click="handleSubmit">
89
89
  确定
90
90
  </wd-button>
91
91
  </view>
@@ -374,7 +374,7 @@ function handleConfirm() {
374
374
  <!-- 底部按钮 -->
375
375
  <view class="fixed bottom-0 left-0 right-0 box-border w-100% flex p-2 .dark:bg-gray-900 .light:bg-white">
376
376
  <wd-button
377
- class="flex-1"
377
+ custom-class="flex-1"
378
378
  type="primary"
379
379
  @click="handleConfirm"
380
380
  >
@@ -226,7 +226,7 @@ function submitSearch(data: any) {
226
226
  <!-- <wd-button class="flex-1" type="info" @click="cancel">
227
227
  取消
228
228
  </wd-button> -->
229
- <wd-button class="flex-1" @click="confirm">
229
+ <wd-button custom-class="flex-1" @click="confirm">
230
230
  确定
231
231
  </wd-button>
232
232
  </view>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wui-components-v2",
3
- "version": "1.0.71",
3
+ "version": "1.0.73",
4
4
  "description": "wui 组件库",
5
5
  "author": "wgxshh",
6
6
  "license": "MIT",