mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[improvement] Template: use v-text instead of mustache (#2404)
This commit is contained in:
@@ -14,16 +14,14 @@
|
||||
</div>
|
||||
<div
|
||||
v-if="!hideStock"
|
||||
v-text="stockText"
|
||||
class="van-sku__stock"
|
||||
>
|
||||
{{ stockText }}
|
||||
</div>
|
||||
/>
|
||||
<div
|
||||
v-if="!hideQuotaText && quotaText"
|
||||
v-text="quotaText"
|
||||
class="van-sku__quota"
|
||||
>
|
||||
{{ quotaText }}
|
||||
</div>
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
Reference in New Issue
Block a user