摘要: .trim() :除首尾的空白字符 vue中去除前后空格: v-model.trim="textAreaVal" jq中去除前后空格: let str = ' 999' str.trim()//999 jq中去除前后以及中间空格: let str = ' 999' str.trim().replac 阅读全文
posted @ 2021-10-20 17:19 塞巴斯酱 阅读(1026) 评论(0) 推荐(0) 编辑