This commit is contained in:
BOE\10867418
2023-08-17 15:23:14 +08:00
parent cfc1f3ab77
commit f74909bc6c

View File

@@ -133,10 +133,11 @@ import downLoad from "../../utils/downLoad";
import Cookies from "vue-cookies";
import axios from "axios";
import dayjs from "dayjs";
import store from '@/store';
import { useStore } from "vuex";
export default {
name: "LearningPathMap",
setup() {
const store = useStore();
const state = reactive({
tableLoading: false, // table加载图标
tableDataTotal: 0, // 数据总条数
@@ -173,8 +174,8 @@ export default {
//请求组织接口
const getOrgList = async () => {
let params = {
roleList: store.userInfo.roleList,
userId: store.userInfo.userId
roleList: store.state.userInfo.roleList,
userId: store.state.userInfo.userId
}
const res = await api.userGetUserOrg({params});
if (res) {