mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 11:54:02 +00:00
[improvement] Template: use v-text instead of mustache (#2404)
This commit is contained in:
@@ -16,7 +16,10 @@
|
||||
/>
|
||||
</svg>
|
||||
<slot>
|
||||
<div :class="b('text')">{{ text }}</div>
|
||||
<div
|
||||
v-text="text"
|
||||
:class="b('text')"
|
||||
/>
|
||||
</slot>
|
||||
</div>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user