123456789101112131415161718192021222324252627282930 |
- export default {
- inject: [
- 'fetchSearchingMajors',
- 'updateCheckedList',
- 'snapshotSearchingMajorWhenApply',
- 'isSearchingMajorFired',
- 'isFormedMajorFired',
- 'ensureMajorFullTree',
- 'getMajorTree'
- ],
- computed: {
- majorTree() {
- // noinspection JSUnresolvedFunction
- return this.getMajorTree()
- },
- searchingMajors() {
- // noinspection JSUnresolvedFunction
- return this.fetchSearchingMajors()
- },
- checkedList() {
- return this.searchingMajors.checkedList
- },
- majorTreeChildren() {
- return this.searchingMajors.majorTreeChildren
- },
- formedMajors() {
- return this.searchingMajors.formedMajors
- }
- }
- }
|