摘要: replaceData(value) { if (value) { return value.replace(/<[^>]+>/g, '').replace(/&nbsp;/ig, '').replace(/\s/g, '') } else { return '' } } 阅读全文
posted @ 2021-09-14 17:34 夜未央唐汉 阅读(850) 评论(0) 推荐(1)
摘要: 效果: 代码: capitalAmount(amount) { // 汉字的数字 const cnNums = [ "零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖", ]; // 基本单位 const cnIntRadice = ["", "拾", " 阅读全文
posted @ 2021-09-14 11:34 夜未央唐汉 阅读(197) 评论(1) 推荐(2)
摘要: 使用Vue、Canvas、ElementUI实现的电子签字版,PC和移动端皆可用。效果如下: HTML <template> <section class="signature"> <div class="signatureBox"> <div class="canvasBox" ref="canv 阅读全文
posted @ 2021-09-14 11:01 夜未央唐汉 阅读(841) 评论(0) 推荐(1)