Commit 5a54bf75 authored by linwenqing's avatar linwenqing

fix:资料完整度计算不准确问题修复,原因注册完手机号默认是一个空格

parent e6cf9504
......@@ -174,7 +174,12 @@ export default {
let length = this.countItem.length
let count = 0
for (let key in this.student) {
if (this.countItem.indexOf(key) != -1 && this.student[key]) {
if (
this.countItem.indexOf(key) != -1 &&
this.student[key] &&
this.student[key] != ' '
) {
console.log('count key', key)
count = count + 1
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment