|
@@ -76,6 +76,11 @@ export default {
|
|
const res = await unitQueryByType({}, "COLLEGE");
|
|
const res = await unitQueryByType({}, "COLLEGE");
|
|
this.optionList = res;
|
|
this.optionList = res;
|
|
}
|
|
}
|
|
|
|
+ const defaultCollege = this.optionList.find(item => item.inUsed);
|
|
|
|
+ if (defaultCollege) {
|
|
|
|
+ this.selected = defaultCollege.id;
|
|
|
|
+ this.select();
|
|
|
|
+ }
|
|
},
|
|
},
|
|
select() {
|
|
select() {
|
|
this.$emit("input", this.selected);
|
|
this.$emit("input", this.selected);
|