stellar-ui-plus 1.23.7 → 1.23.8
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.
|
@@ -185,6 +185,12 @@
|
|
|
185
185
|
"description": "建议右侧申请输入框只读(mode='more'时有效)",
|
|
186
186
|
"type": "boolean"
|
|
187
187
|
},
|
|
188
|
+
{
|
|
189
|
+
"name": "showOriginalUnit",
|
|
190
|
+
"description": "划线价格是否显示¥符号",
|
|
191
|
+
"type": "boolean",
|
|
192
|
+
"version": "1.23.8"
|
|
193
|
+
},
|
|
188
194
|
|
|
189
195
|
{
|
|
190
196
|
"name": "[event]change",
|
|
@@ -151,7 +151,7 @@ const clickSuggest = (type: 'method' | 'back' | 'item' | 'right', item?: { label
|
|
|
151
151
|
showSuggestList.value = !showSuggestList.value;
|
|
152
152
|
}
|
|
153
153
|
if (type === 'back' && applyForNumberHistory.value.length > 0) {
|
|
154
|
-
backText.value = applyForNumberHistory.value.pop();
|
|
154
|
+
backText.value = applyForNumberHistory.value.length > 1 ? applyForNumberHistory.value.pop() : applyForNumberHistory.value[0];
|
|
155
155
|
suggesData.value.applyForNumber = backText.value;
|
|
156
156
|
}
|
|
157
157
|
emits('click-suggest', type, item);
|
|
@@ -219,7 +219,7 @@ const cmpMore = computed(() => props.mode === 'more');
|
|
|
219
219
|
line-price-color="#666666"
|
|
220
220
|
:marginLeft="cmpMore ? 16 : 10"
|
|
221
221
|
:fontSize="cmpMore ? 20 : 24"
|
|
222
|
-
:showUnit="
|
|
222
|
+
:showUnit="showOriginalUnit"
|
|
223
223
|
/>
|
|
224
224
|
</view>
|
|
225
225
|
</block>
|