Commit 4e423b93 authored by 吴春's avatar 吴春

1

parent ca238877
...@@ -196,6 +196,13 @@ export default { ...@@ -196,6 +196,13 @@ export default {
selectedCourseList: [],//多选课程 selectedCourseList: [],//多选课程
}; };
}, },
watch:{
mode:{
handler(n){
this.selectedCourseList=[]
}
}
},
mounted() { mounted() {
let nowDay = new Date(); let nowDay = new Date();
var year = nowDay.getFullYear(); //年 var year = nowDay.getFullYear(); //年
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
--> -->
<q-table <q-table
:pagination="msg" :pagination="msg"
selection="multiple" :selection="mode==2?'multiple':'single'"
:selected.sync="selection" :selected.sync="selection"
no-data-label="暂无相关数据" no-data-label="暂无相关数据"
flat flat
......
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