Explorar o código

欢迎新同学

Changpeng Duan %!s(int64=5) %!d(string=hai) anos
pai
achega
26d05561c3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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