组织换届重构完成
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
|
||||
<script>
|
||||
import {mapState} from "vuex";
|
||||
import addChange from "./components/addChange.vue";
|
||||
import List from "./components/List.vue";
|
||||
import organizationSetting from "./components/organizationSetting.vue";
|
||||
|
||||
@@ -27,7 +26,6 @@ export default {
|
||||
},
|
||||
components: {
|
||||
List,
|
||||
addChange,
|
||||
organizationSetting,
|
||||
},
|
||||
computed: {
|
||||
@@ -35,8 +33,6 @@ export default {
|
||||
currentPage() {
|
||||
const {hash} = this.$route
|
||||
if (["#add","#makeup"].includes(hash)) {
|
||||
return addChange
|
||||
} else if (hash == "#setting") {
|
||||
return organizationSetting
|
||||
} else return List
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user