Explorar o código

课程复选框

liuyang %!s(int64=5) %!d(string=hai) anos
pai
achega
1b3e4e0241
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      frontend_web/src/views/course/detail/editForm.vue

+ 1 - 1
frontend_web/src/views/course/detail/editForm.vue

@@ -196,7 +196,7 @@ export default {
             // 判断多选的选中状态
             if (_this.formdata.Time) {
               let subStr = _this.formdata.Time
-              _this.checkedTimes = subStr.split(',').map(Number)
+              _this.checkedTimes = subStr.split(',')
 
               console.log(_this.checkedTimes)
             } else {