numberinput
This commit is contained in:
24
pages/SecondPhase/slitting/TestNumInput.vue
Normal file
24
pages/SecondPhase/slitting/TestNumInput.vue
Normal file
@@ -0,0 +1,24 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<number-input
|
||||
v-model="numberValue"
|
||||
:min="0.01"
|
||||
:max="999.999"
|
||||
input-class="filter_input"
|
||||
/>
|
||||
<text>当前值: {{ numberValue }}</text>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import NumberInput from '@/components/NumberInput.vue';
|
||||
|
||||
export default {
|
||||
components: { NumberInput },
|
||||
data() {
|
||||
return {
|
||||
numberValue: 1.0
|
||||
};
|
||||
}
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user