const toChineseNum = (num) => { const unit = ['', '十', '百', '千'] const counts = ['零', '一', '二', '三', '四', '五', '六', '七', '八', '九'] const pre = Math.floor(num / 10000) const next = num % 10000 let getfour = (mynum, flag = false) => { if(!mynum){retur…