for (const key in that.form) {
// 取中文项
let re = /^[\u4e00-\u9fa5]+$/;
if (re.test(key)){
that.columnList.push(key)
}
}
前端取键值对中的中文键
最新推荐文章于 2023-07-23 16:50:08 发布
for (const key in that.form) {
// 取中文项
let re = /^[\u4e00-\u9fa5]+$/;
if (re.test(key)){
that.columnList.push(key)
}
}