muzhiyu-ui 1.0.10 → 1.0.12

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.
@@ -64,7 +64,6 @@ import { computed, useSlots, inject } from 'vue'
64
64
  defineOptions({
65
65
  name: 'mu-button',
66
66
  options: {
67
- virtualHost: true,
68
67
  styleIsolation: 'shared'
69
68
  }
70
69
  })
@@ -307,7 +306,6 @@ function onChooseAvatar(e) { emit('chooseavatar', e) }
307
306
  align-items: center !important;
308
307
  justify-content: center !important;
309
308
  line-height: 1 !important;
310
- height: 100%;
311
309
  }
312
310
 
313
311
  &__icon {
@@ -315,7 +313,6 @@ function onChooseAvatar(e) { emit('chooseavatar', e) }
315
313
  align-items: center !important;
316
314
  justify-content: center !important;
317
315
  line-height: 1 !important;
318
- height: 100%;
319
316
  flex-shrink: 0;
320
317
 
321
318
  &--left { margin-right: 8rpx; }
@@ -38,7 +38,7 @@
38
38
  :auto-height="autoHeight" @input="onInput" @focus="onFocus" @blur="onBlur" />
39
39
 
40
40
  <!-- 只读选择模式 (避免拉起系统软键盘) -->
41
- <view v-if="readonly" class="mu-input__virtual-box">
41
+ <view v-else-if="readonly" class="mu-input__virtual-box">
42
42
  <text v-if="innerValue !== undefined && innerValue !== null && String(innerValue).length > 0" class="mu-input__virtual-text">{{ innerValue }}</text>
43
43
  <text v-else class="mu-input__virtual-placeholder">{{ placeholder }}</text>
44
44
  </view>
@@ -137,7 +137,13 @@ function onPickerChange(e) {
137
137
  function getSelectedResult() {
138
138
  const items = pickerValue.value.map((idx, colIdx) => (formattedColumns.value[colIdx] && formattedColumns.value[colIdx][idx]) || (formattedColumns.value[colIdx] && formattedColumns.value[colIdx][0]))
139
139
  const values = items.map(item => item != null ? getItemValue(item) : '')
140
- return { indexs: [...pickerValue.value], items, values }
140
+ return {
141
+ indexs: [...pickerValue.value],
142
+ items,
143
+ values,
144
+ item: items[0],
145
+ value: values[0]
146
+ }
141
147
  }
142
148
 
143
149
  function handleConfirm() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muzhiyu-ui",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "基于 UniApp Vue3 + SCSS 打造的全端极奢组件库",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -29,7 +29,7 @@
29
29
  "uni_modules": {
30
30
  "id": "muzhiyu-ui",
31
31
  "name": "muzhiyu-ui 极奢组件库",
32
- "version": "1.0.10",
32
+ "version": "1.0.12",
33
33
  "description": "基于 UniApp Vue3 + SCSS 打造的全端极奢 UI 组件库",
34
34
  "site": "",
35
35
  "displayName": "MuzhiyuUI 极奢全端组件库"