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