diff --git a/js/index.vue b/js/index.vue index a8b3f8d..a9f3dda 100644 --- a/js/index.vue +++ b/js/index.vue @@ -60,12 +60,11 @@ var vm = new Vue({ return response.json() }).then(function(jsonData){ console.log(jsonData) + vm.selectCourses = JSON.parse(jsonData['data']) }) .catch(function(err){ alert("錯誤: "+err) }) - }else{ - } }, 'saveCourseTable': function(){