[improvement] Template: use v-text instead of mustache (#2404)

This commit is contained in:
neverland
2018-12-30 11:20:38 +08:00
committed by GitHub
parent 6b7580042a
commit 6d362dc3eb
48 changed files with 207 additions and 410 deletions
+2 -3
View File
@@ -1,14 +1,13 @@
<template>
<span
v-text="skuValue.name"
class="van-sku-row__item"
:class="{
'van-sku-row__item--active': isChoosed,
'van-sku-row__item--disabled': !isChoosable
}"
@click="onSelect"
>
{{ skuValue.name }}
</span>
/>
</template>
<script>