tang-ui-x 1.1.3 → 1.1.4

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.
@@ -9,7 +9,7 @@
9
9
  import { useI18n } from '../../composables/useI18n.uts'
10
10
 
11
11
  const props = withDefaults(defineProps<TFormProps>(), {
12
- labelWidth: '120rpx',
12
+ labelWidth: '110rpx',
13
13
  layout: 'vertical',
14
14
  hideButtons: false,
15
15
  })
@@ -166,8 +166,8 @@
166
166
  <form @submit="onFormSubmit" @reset="onFormReset">
167
167
  <view v-for="(item, index) in schemas" class="form-item" :key="index">
168
168
  <view class="form-item-content" :class="`form-item--${getItemLayout(item)}`">
169
- <view class="form-label" :style="{ width: getItemLayout(item) === 'horizontal' ? getItemLabelWidth(item) : labelWidth }">
170
- <text class="text">{{ item.label }}</text>
169
+ <view class="form-label" >
170
+ <text class="text" :style="{ width: getItemLayout(item) === 'horizontal' ? getItemLabelWidth(item) : labelWidth }">{{ item.label }}</text>
171
171
  <text v-if="item.required" class="required">*</text>
172
172
  </view>
173
173
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tang-ui-x",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "UniApp X UI 组件库 - 基于 uni-app x 的移动端 UI 组件库",
5
5
  "main": "index.uts",
6
6
  "module": "index.uts",