fix: price
This commit is contained in:
@@ -238,9 +238,9 @@ const formatFileSize = (bytes) => {
|
||||
|
||||
<!-- Price -->
|
||||
<div class="col-span-1">
|
||||
<label for="price" class="block text-sm font-medium text-gray-700 mb-1">价格 (¥)</label>
|
||||
<InputNumber id="price" v-model="post.price" mode="currency" currency="CNY" :minFractionDigits="2"
|
||||
class="w-full" />
|
||||
<label for="price" class="block text-sm font-medium text-gray-700 mb-1">价格 (分)</label>
|
||||
<InputNumber id="price" v-model="post.price" :minFractionDigits="0" :maxFractionDigits="0"
|
||||
class="w-full" placeholder="输入价格,单位:分" />
|
||||
</div>
|
||||
|
||||
<!-- Discount -->
|
||||
|
||||
Reference in New Issue
Block a user