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