소스 검색

欢迎新同学

Changpeng Duan 5 년 전
부모
커밋
26d05561c3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tv/src/components/newStudent.vue

+ 1 - 1
tv/src/components/newStudent.vue

@@ -37,7 +37,7 @@ export default {
       handler(newName, oldName) {
         let that = this;
         if (newName != '') {
-          if (Math.random(1, 10) * 100 > 50) {
+          if (newName.length > 3) {
             that.bg = 0
           } else {
             that.bg = 1