mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 16:26:45 +08:00
讲师管理审批
This commit is contained in:
@@ -14,9 +14,10 @@
|
||||
</div>
|
||||
</template>
|
||||
<script lang="jsx">
|
||||
import { reactive, toRefs, ref, watch } from "vue";
|
||||
import { reactive, toRefs, ref, watch,onMounted } from "vue";
|
||||
import LecturerFee from "../lecturer/LecturerFee.vue"
|
||||
import LecturerApproval from "../lecturer/LecturerApproval.vue"
|
||||
import { useRoute } from "vue-router";
|
||||
export default {
|
||||
name: "LecturerFeeManagement",
|
||||
components: {
|
||||
@@ -24,11 +25,17 @@ import LecturerApproval from "../lecturer/LecturerApproval.vue"
|
||||
LecturerApproval
|
||||
},
|
||||
setup() {
|
||||
const route = useRoute();
|
||||
const state = reactive({
|
||||
activeKey:'1'
|
||||
activeKey:'1',
|
||||
})
|
||||
watch(
|
||||
)
|
||||
onMounted(() => {
|
||||
if(route.query.activeKey){
|
||||
state.activeKey = '2'
|
||||
}
|
||||
})
|
||||
return {
|
||||
...toRefs(state),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user