mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-11-26 10:30:54 +08:00
fix v-model:value.number for UnitInput and LabelInput
This commit is contained in:
1 parent
36cea5a846
commit
1f204c0020
9 files changed
+39
-43
No files matched your search
@@ -80,7 +80,7 @@ export default {
|
||||
<div class="col span-6 mb-10">
|
||||
<InputOrDisplay name="CPU" :value="cupDisplay" :mode="mode">
|
||||
<UnitInput
|
||||
v-model:value.number="localCpu"
|
||||
v-model:value="localCpu"
|
||||
label="CPU"
|
||||
suffix="C"
|
||||
:delay="0"
|
||||
@@ -96,7 +96,7 @@ export default {
|
||||
<div class="col span-6 mb-10">
|
||||
<InputOrDisplay :name="t('harvester.virtualMachine.input.memory')" :value="memoryDisplay" :mode="mode">
|
||||
<UnitInput
|
||||
v-model:value.number="localMemory"
|
||||
v-model:value="localMemory"
|
||||
:label="t('harvester.virtualMachine.input.memory')"
|
||||
:mode="mode"
|
||||
:input-exponent="3"
|
||||
|
||||
Reference in new issue
Block a user