提交 05d04618 编写于 作者: 张峻

fix: 排序

上级 8f7e5896
......@@ -3,8 +3,8 @@ import { ElMessageBox, ElNotification } from "element-plus";
import { useStore } from "~~/store";
import api from "./index";
import NProgress from "nprogress";
// axios.defaults.baseURL = "https://devbitapi-test.csdn.net/ai";
axios.defaults.baseURL = "https://api.devbit.cn/ai";
axios.defaults.baseURL = "https://devbitapi-test.csdn.net/ai";
// axios.defaults.baseURL = "https://api.devbit.cn/ai";
//携带Cookie
axios.defaults.withCredentials = true;
......
......@@ -659,6 +659,7 @@ const fn_formdata = () => {
? (form.level = "NORMAL")
: (form.level = "DIFFICULT"),
id: props.id,
// tags: tagLabel,
courseType: "VIDEO_COLLECTION"
})
.then(({ data: res }) => {
......@@ -691,9 +692,15 @@ const fn_formdata = () => {
}
};
// 下啦筛选标签
// const tagLabel: any[] = [];
const optionfn = (data: any) => {
console.log(data);
form.tagIds = data;
// data.forEach((id: number) => {
// const item = props.label.find((el: { id: number }) => el.id === id);
// if (item) {
// tagLabel.push(item);
// }
// });
};
watch(
() => props.colldetail,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册