摘要:
封装一个方法: function convertCurrency(money) { // 汉字的数字 let cnNums = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']; // 基本单位 let cnIntRadice = ['', '拾' 阅读全文
摘要:
<input v-model="inputAmount" type="digit" @input="replaceInput" /> replaceInput(event) { // 必须在nextTick中 this.$nextTick(() => { this.inputAmount = eve 阅读全文