添加了视频添加和直播添加的跳转

This commit is contained in:
luyuan 2020-11-03 10:39:26 +08:00
parent 6517439bc3
commit 3e6f314bb7
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -168,6 +168,7 @@ export async function liveadd(data: any) {
console.log(res) console.log(res)
if(res.code==0){ if(res.code==0){
message.success(res.msg) message.success(res.msg)
router.push("/regime/live")
}else{ }else{
message.error(res.msg) message.error(res.msg)
} }
@ -189,6 +190,7 @@ export async function videoadd( form: any,data: any) {
desc: "", desc: "",
video: [""], video: [""],
} }
router.push("/regime/video")
}else{ }else{
message.error(res.msg) message.error(res.msg)
} }