|
@@ -126,7 +126,7 @@ export default {
|
|
|
data () {
|
|
|
return {
|
|
|
teacherName: this.$route.query.teacherName,
|
|
|
- activeName: "0",
|
|
|
+ activeName: "",
|
|
|
// activeStatus: [true, false, false, false, false, false, false]
|
|
|
permissionList: {
|
|
|
teacherInfo: permission("/teacherDetail/teacherInfo"),
|
|
@@ -153,10 +153,11 @@ export default {
|
|
|
mounted () {
|
|
|
this.teacherName = this.$route.query.teacherName;
|
|
|
this.teacherId = this.$route.query.teacherId
|
|
|
- this.activeName = "0";
|
|
|
+
|
|
|
teacherGet({ teacherId: this.teacherId }).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.teacherInfos = res.data
|
|
|
+ this.activeName = "0";
|
|
|
|
|
|
}
|
|
|
})
|