上传videoid
This commit is contained in:
parent
25c2f49576
commit
d1a3115ed4
@ -769,7 +769,8 @@ export async function putmember(data: any): Promise<any>{
|
||||
language: data.languageValue,
|
||||
tlanguage: data.tlanguageValue,
|
||||
video: data.video,
|
||||
desc: data.desc
|
||||
desc: data.desc,
|
||||
videoid: data.videoid
|
||||
}
|
||||
console.log(newdata)
|
||||
const res = await put<Liveaddrule>(`member/${store.state.userinfo.memberid}`, newdata)
|
||||
|
@ -45,6 +45,7 @@ export default createStore({
|
||||
uid: "",
|
||||
updatedAt: "",
|
||||
video: "",
|
||||
videoid: 0,
|
||||
willsay: [{name: "请选择", level: 0}],
|
||||
willsayValue: [{name: "0", level: 0}],
|
||||
zoneStr: "中途岛GMT-11:00",
|
||||
|
@ -6,7 +6,7 @@ interface OnFunctio {
|
||||
}
|
||||
|
||||
interface UploaderDone {
|
||||
fileId: string;
|
||||
fileId: number;
|
||||
video: {
|
||||
url: string;
|
||||
verify_content: string;
|
||||
|
@ -932,6 +932,7 @@ export default defineComponent({
|
||||
uploadprogress.value = info.percent.toFixed(2) * 100;
|
||||
});
|
||||
userinfo.value.video = res.video.url;
|
||||
userinfo.value.videoid = res.fileId;
|
||||
}
|
||||
|
||||
if (formData.value.video != "") {
|
||||
|
@ -257,7 +257,7 @@ export default defineComponent({
|
||||
const form = ref({
|
||||
title: "",
|
||||
img: "",
|
||||
fileid: "",
|
||||
fileid: 0,
|
||||
fileurl: "",
|
||||
fileduration: 0,
|
||||
dateline: "",
|
||||
|
Loading…
Reference in New Issue
Block a user