1
@@ -14,6 +14,7 @@
@reset="onReSet"
>
<el-form-item prop="search">
+ <!-- search(); -->
<el-input
v-model.trim="searchForm.search"
clearable
@@ -21,7 +22,7 @@
(e) => {
e.target.blur();
$refs.searchForm.save();
- search();
+
}
"
placeholder="请输入角色类型"
@@ -91,12 +92,14 @@ export default {
};
},
created() {
- this.init();
- activated() {
+ // activated() {
+ // this.init();
+ // },
+ mounted() {
+ this.init();
- mounted() {},
methods: {
search() {
this.pageInfo.page = 1;
@@ -91,12 +91,14 @@ export default {
@@ -197,7 +197,8 @@ export default {
teacherGet({ teacherId: this.teacherId }).then(res => {
if (res.code == 200) {
this.teacherInfos = res.data;
- this.activeName = "0";
+ // console.log('teacherGet')
+ // this.activeName = "0";
});