mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 11:26:43 +08:00
课程三级改回来接口
This commit is contained in:
@@ -1013,12 +1013,10 @@ export default {
|
||||
async loadTypeData() {
|
||||
let $this = this;
|
||||
try {
|
||||
const result= await apiType.treeList(1,28,1);
|
||||
const {data:{ records},code} = result
|
||||
|
||||
if (code === 200) {
|
||||
const { result, status } = await apiType.tree(1);
|
||||
if (status === 200) {
|
||||
let tree = [];
|
||||
records.forEach((item, index) => {
|
||||
result.forEach((item, index) => {
|
||||
let newItem = {
|
||||
type: 11,
|
||||
id: item.id,
|
||||
|
||||
Reference in New Issue
Block a user