课程三级改回来接口

This commit is contained in:
joshen@zcwytd.com
2023-08-03 20:09:08 +08:00
parent a6c754ce43
commit 91d1669c4d

View File

@@ -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,