diff --git a/public/css/room.css b/public/css/room.css index 9519afb..c051e19 100644 --- a/public/css/room.css +++ b/public/css/room.css @@ -53,7 +53,7 @@ video{ .member{ cursor: default; border-bottom-style: solid; - border-width: 1px; + border-width: 0; border-bottom-color: #f0f0f0; } #video-grid{ @@ -73,6 +73,7 @@ video{ height: 100%; padding: 10px; grid-area: 1/1/3/4; + border-radius: 17px; } .video-box{ width: 100%; diff --git a/public/img/fasong.png b/public/img/fasong.png new file mode 100644 index 0000000..9ccdf87 Binary files /dev/null and b/public/img/fasong.png differ diff --git a/public/js/iminit.js b/public/js/iminit.js new file mode 100644 index 0000000..e07711d --- /dev/null +++ b/public/js/iminit.js @@ -0,0 +1,88 @@ +let options = { + SDKAppID: 1400435767 // 接入时需要将0替换为您的即时通信 IM 应用的 SDKAppID +}; +let tim = TIM.create(options); +tim.setLogLevel(0); +// 监听事件,例如: +tim.on(TIM.EVENT.SDK_READY, function(event) { + // 收到离线消息和会话列表同步完毕通知,接入侧可以调用 sendMessage 等需要鉴权的接口 + // event.name - TIM.EVENT.SDK_READY + }); + + tim.on(TIM.EVENT.MESSAGE_RECEIVED, function(event) { + // 收到推送的单聊、群聊、群提示、群系统通知的新消息,可通过遍历 event.data 获取消息列表数据并渲染到页面 + // event.name - TIM.EVENT.MESSAGE_RECEIVED + // event.data - 存储 Message 对象的数组 - [Message] + }); + + tim.on(TIM.EVENT.MESSAGE_REVOKED, function(event) { + // 收到消息被撤回的通知 + // event.name - TIM.EVENT.MESSAGE_REVOKED + // event.data - 存储 Message 对象的数组 - [Message] - 每个 Message 对象的 isRevoked 属性值为 true + }); + + tim.on(TIM.EVENT.MESSAGE_READ_BY_PEER, function(event) { + // SDK 收到对端已读消息的通知,即已读回执。使用前需要将 SDK 版本升级至 v2.7.0 或以上。仅支持单聊会话。 + // event.name - TIM.EVENT.MESSAGE_READ_BY_PEER + // event.data - event.data - 存储 Message 对象的数组 - [Message] - 每个 Message 对象的 isPeerRead 属性值为 true + }); + + tim.on(TIM.EVENT.CONVERSATION_LIST_UPDATED, function(event) { + // 收到会话列表更新通知,可通过遍历 event.data 获取会话列表数据并渲染到页面 + // event.name - TIM.EVENT.CONVERSATION_LIST_UPDATED + // event.data - 存储 Conversation 对象的数组 - [Conversation] + }); + + tim.on(TIM.EVENT.GROUP_LIST_UPDATED, function(event) { + // 收到群组列表更新通知,可通过遍历 event.data 获取群组列表数据并渲染到页面 + // event.name - TIM.EVENT.GROUP_LIST_UPDATED + // event.data - 存储 Group 对象的数组 - [Group] + }); + + tim.on(TIM.EVENT.PROFILE_UPDATED, function(event) { + // 收到自己或好友的资料变更通知 + // event.name - TIM.EVENT.PROFILE_UPDATED + // event.data - 存储 Profile 对象的数组 - [Profile] + }); + + tim.on(TIM.EVENT.BLACKLIST_UPDATED, function(event) { + // 收到黑名单列表更新通知 + // event.name - TIM.EVENT.BLACKLIST_UPDATED + // event.data - 存储 userID 的数组 - [userID] + }); + + tim.on(TIM.EVENT.ERROR, function(event) { + // 收到 SDK 发生错误通知,可以获取错误码和错误信息 + // event.name - TIM.EVENT.ERROR + // event.data.code - 错误码 + // event.data.message - 错误信息 + }); + + tim.on(TIM.EVENT.SDK_NOT_READY, function(event) { + // 收到 SDK 进入 not ready 状态通知,此时 SDK 无法正常工作 + // event.name - TIM.EVENT.SDK_NOT_READY + }); + + tim.on(TIM.EVENT.KICKED_OUT, function(event) { + // 收到被踢下线通知 + // event.name - TIM.EVENT.KICKED_OUT + // event.data.type - 被踢下线的原因,例如: + // - TIM.TYPES.KICKED_OUT_MULT_ACCOUNT 多实例登录被踢 + // - TIM.TYPES.KICKED_OUT_MULT_DEVICE 多终端登录被踢 + // - TIM.TYPES.KICKED_OUT_USERSIG_EXPIRED 签名过期被踢 (v2.4.0起支持)。 + }); + + tim.on(TIM.EVENT.NET_STATE_CHANGE, function(event) { + // 网络状态发生改变(v2.5.0 起支持)。 + // event.name - TIM.EVENT.NET_STATE_CHANGE + // event.data.state 当前网络状态,枚举值及说明如下: + // \- TIM.TYPES.NET_STATE_CONNECTED - 已接入网络 + // \- TIM.TYPES.NET_STATE_CONNECTING - 连接中。很可能遇到网络抖动,SDK 在重试。接入侧可根据此状态提示“当前网络不稳定”或“连接中” + // \- TIM.TYPES.NET_STATE_DISCONNECTED - 未接入网络。接入侧可根据此状态提示“当前网络不可用”。SDK 仍会继续重试,若用户网络恢复,SDK 会自动同步消息 + }); + genTestUserSig(window.mid).then((res)=>{ + tim.login({userID: window.mid, userSig: res.data}); + + }) + + // 开始登录 \ No newline at end of file diff --git a/public/js/tim-js.js b/public/js/tim-js.js new file mode 100644 index 0000000..8614144 --- /dev/null +++ b/public/js/tim-js.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).TIM=t()}(this,(function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e,t){return e(t={exports:{}},t.exports),t.exports}var n=function(e){return e&&e.Math==Math&&e},r=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")(),o=function(e){try{return!!e()}catch(t){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,u={f:s&&!a.call({1:2},1)?function(e){var t=s(this,e);return!!t&&t.enumerable}:a},c=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},l={}.toString,p=function(e){return l.call(e).slice(8,-1)},f="".split,h=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==p(e)?f.call(e,""):Object(e)}:Object,d=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},g=function(e){return h(d(e))},m=function(e){return"object"==typeof e?null!==e:"function"==typeof e},v=function(e,t){if(!m(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!m(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!m(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!m(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},y={}.hasOwnProperty,_=function(e,t){return y.call(e,t)},I=r.document,M=m(I)&&m(I.createElement),C=function(e){return M?I.createElement(e):{}},E=!i&&!o((function(){return 7!=Object.defineProperty(C("div"),"a",{get:function(){return 7}}).a})),T=Object.getOwnPropertyDescriptor,S={f:i?T:function(e,t){if(e=g(e),t=v(t,!0),E)try{return T(e,t)}catch(n){}if(_(e,t))return c(!u.f.call(e,t),e[t])}},D=function(e){if(!m(e))throw TypeError(String(e)+" is not an object");return e},k=Object.defineProperty,O={f:i?k:function(e,t,n){if(D(e),t=v(t,!0),D(n),E)try{return k(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},R=i?function(e,t,n){return O.f(e,t,c(1,n))}:function(e,t,n){return e[t]=n,e},A=function(e,t){try{R(r,e,t)}catch(n){r[e]=t}return t},w=r["__core-js_shared__"]||A("__core-js_shared__",{}),L=Function.toString;"function"!=typeof w.inspectSource&&(w.inspectSource=function(e){return L.call(e)});var N,b,P,G=w.inspectSource,U=r.WeakMap,x="function"==typeof U&&/native code/.test(G(U)),q=t((function(e){(e.exports=function(e,t){return w[e]||(w[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),F=0,j=Math.random(),V=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++F+j).toString(36)},B=q("keys"),K=function(e){return B[e]||(B[e]=V(e))},H={},$=r.WeakMap;if(x){var z=new $,W=z.get,Y=z.has,J=z.set;N=function(e,t){return J.call(z,e,t),t},b=function(e){return W.call(z,e)||{}},P=function(e){return Y.call(z,e)}}else{var X=K("state");H[X]=!0,N=function(e,t){return R(e,X,t),t},b=function(e){return _(e,X)?e[X]:{}},P=function(e){return _(e,X)}}var Q,Z,ee={set:N,get:b,has:P,enforce:function(e){return P(e)?b(e):N(e,{})},getterFor:function(e){return function(t){var n;if(!m(t)||(n=b(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},te=t((function(e){var t=ee.get,n=ee.enforce,o=String(String).split("String");(e.exports=function(e,t,i,a){var s=!!a&&!!a.unsafe,u=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof t||_(i,"name")||R(i,"name",t),n(i).source=o.join("string"==typeof t?t:"")),e!==r?(s?!c&&e[t]&&(u=!0):delete e[t],u?e[t]=i:R(e,t,i)):u?e[t]=i:A(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||G(this)}))})),ne=r,re=function(e){return"function"==typeof e?e:void 0},oe=function(e,t){return arguments.length<2?re(ne[e])||re(r[e]):ne[e]&&ne[e][t]||r[e]&&r[e][t]},ie=Math.ceil,ae=Math.floor,se=function(e){return isNaN(e=+e)?0:(e>0?ae:ie)(e)},ue=Math.min,ce=function(e){return e>0?ue(se(e),9007199254740991):0},le=Math.max,pe=Math.min,fe=function(e,t){var n=se(e);return n<0?le(n+t,0):pe(n,t)},he=function(e){return function(t,n,r){var o,i=g(t),a=ce(i.length),s=fe(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},de={includes:he(!0),indexOf:he(!1)},ge=de.indexOf,me=function(e,t){var n,r=g(e),o=0,i=[];for(n in r)!_(H,n)&&_(r,n)&&i.push(n);for(;t.length>o;)_(r,n=t[o++])&&(~ge(i,n)||i.push(n));return i},ve=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ye=ve.concat("length","prototype"),_e={f:Object.getOwnPropertyNames||function(e){return me(e,ye)}},Ie={f:Object.getOwnPropertySymbols},Me=oe("Reflect","ownKeys")||function(e){var t=_e.f(D(e)),n=Ie.f;return n?t.concat(n(e)):t},Ce=function(e,t){for(var n=Me(t),r=O.f,o=S.f,i=0;i=74)&&(Q=Be.match(/Chrome\/(\d+)/))&&(Z=Q[1]);var ze=Z&&+Z,We=Fe("species"),Ye=function(e){return ze>=51||!o((function(){var t=[];return(t.constructor={})[We]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Je=Fe("isConcatSpreadable"),Xe=ze>=51||!o((function(){var e=[];return e[Je]=!1,e.concat()[0]!==e})),Qe=Ye("concat"),Ze=function(e){if(!m(e))return!1;var t=e[Je];return void 0!==t?!!t:Le(e)};we({target:"Array",proto:!0,forced:!Xe||!Qe},{concat:function(e){var t,n,r,o,i,a=Ne(this),s=Ve(a,0),u=0;for(t=-1,r=arguments.length;t9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");be(s,u++,i)}return s.length=u,s}});var et=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},tt=function(e,t,n){if(et(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},nt=[].push,rt=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=5==e||i;return function(s,u,c,l){for(var p,f,d=Ne(s),g=h(d),m=tt(u,c,3),v=ce(g.length),y=0,_=l||Ve,I=t?_(s,v):n?_(s,0):void 0;v>y;y++)if((a||y in g)&&(f=m(p=g[y],y,d),e))if(t)I[y]=f;else if(f)switch(e){case 3:return!0;case 5:return p;case 6:return y;case 2:nt.call(I,p)}else if(o)return!1;return i?-1:r||o?o:I}},ot={forEach:rt(0),map:rt(1),filter:rt(2),some:rt(3),every:rt(4),find:rt(5),findIndex:rt(6)},it=function(e,t){var n=[][e];return!!n&&o((function(){n.call(null,t||function(){throw 1},1)}))},at=Object.defineProperty,st={},ut=function(e){throw e},ct=function(e,t){if(_(st,e))return st[e];t||(t={});var n=[][e],r=!!_(t,"ACCESSORS")&&t.ACCESSORS,a=_(t,0)?t[0]:ut,s=_(t,1)?t[1]:void 0;return st[e]=!!n&&!o((function(){if(r&&!i)return!0;var e={length:-1};r?at(e,1,{enumerable:!0,get:ut}):e[1]=1,n.call(e,a,s)}))},lt=ot.forEach,pt=it("forEach"),ft=ct("forEach"),ht=pt&&ft?[].forEach:function(e){return lt(this,e,arguments.length>1?arguments[1]:void 0)};we({target:"Array",proto:!0,forced:[].forEach!=ht},{forEach:ht});var dt=function(e,t,n,r){try{return r?t(D(n)[0],n[1]):t(n)}catch(i){var o=e.return;throw void 0!==o&&D(o.call(e)),i}},gt={},mt=Fe("iterator"),vt=Array.prototype,yt=function(e){return void 0!==e&&(gt.Array===e||vt[mt]===e)},_t={};_t[Fe("toStringTag")]="z";var It="[object z]"===String(_t),Mt=Fe("toStringTag"),Ct="Arguments"==p(function(){return arguments}()),Et=It?p:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),Mt))?n:Ct?p(t):"Object"==(r=p(t))&&"function"==typeof t.callee?"Arguments":r},Tt=Fe("iterator"),St=function(e){if(null!=e)return e[Tt]||e["@@iterator"]||gt[Et(e)]},Dt=function(e){var t,n,r,o,i,a,s=Ne(e),u="function"==typeof this?this:Array,c=arguments.length,l=c>1?arguments[1]:void 0,p=void 0!==l,f=St(s),h=0;if(p&&(l=tt(l,c>2?arguments[2]:void 0,2)),null==f||u==Array&&yt(f))for(n=new u(t=ce(s.length));t>h;h++)a=p?l(s[h],h):s[h],be(n,h,a);else for(i=(o=f.call(s)).next,n=new u;!(r=i.call(o)).done;h++)a=p?dt(o,l,[r.value,h],!0):r.value,be(n,h,a);return n.length=h,n},kt=Fe("iterator"),Ot=!1;try{var Rt=0,At={next:function(){return{done:!!Rt++}},return:function(){Ot=!0}};At[kt]=function(){return this},Array.from(At,(function(){throw 2}))}catch(t_){}var wt=function(e,t){if(!t&&!Ot)return!1;var n=!1;try{var r={};r[kt]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(t_){}return n},Lt=!wt((function(e){Array.from(e)}));we({target:"Array",stat:!0,forced:Lt},{from:Dt});var Nt,bt=Object.keys||function(e){return me(e,ve)},Pt=i?Object.defineProperties:function(e,t){D(e);for(var n,r=bt(t),o=r.length,i=0;o>i;)O.f(e,n=r[i++],t[n]);return e},Gt=oe("document","documentElement"),Ut=K("IE_PROTO"),xt=function(){},qt=function(e){return" + + @@ -351,6 +466,8 @@ + + diff --git a/src/api/index.ts b/src/api/index.ts index ea1d1d7..3086222 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -450,11 +450,13 @@ export async function editpassword(data?: any): Promise { const res = await put('/member/' + data.memberid,newdata) if(res.code==0){ message.success("修改成功") + return false + }else{ message.error(res.msg) + return true } - return res } /** @@ -606,6 +608,12 @@ export async function checkuser(data?: any){ newdata.number=data.phone const res = await get('checkUser',newdata); // console.log(res) + if(res.code == 1){ + return { + code: res.code, + msg: res.msg, + } + } return { code: res.code, msg: res.msg, diff --git a/src/i18n/en.ts b/src/i18n/en.ts index 01e389b..e8969ef 100644 --- a/src/i18n/en.ts +++ b/src/i18n/en.ts @@ -315,4 +315,5 @@ export default { shichangtishi:"", renshutishi: '', tixianzhu: "", + zhibotishi: "" } \ No newline at end of file diff --git a/src/i18n/init.ts b/src/i18n/init.ts index 6fd37f3..42961a6 100644 --- a/src/i18n/init.ts +++ b/src/i18n/init.ts @@ -14,6 +14,8 @@ getset().then((res: any)=>{ en.tixianzhu = `Note: ${res.sxf} service fee will be charged for each withdrawal, with a minimum of ${ res.symbol + res.minmoney }` zh.zuiditixian = "最低提现金额" + res.symbol + res.minwithdraw en.zuiditixian = "Minimum withdrawal amount " + res.symbol + res.minwithdraw + zh.zhibotishi = `恭喜您在beelink有直播课资格。直播资格按照每周浏览量排名,前${res.views}名基本直播资格。` + en.zhibotishi = `Congratulations on your qualification for beelink live streaming course. The top ${res.views} basic live streaming qualifications are ranked according to the number of views per week` const i18n = geti18n(); const loc = i18n.locale.value; i18n.locale.value = ''; diff --git a/src/i18n/zh.ts b/src/i18n/zh.ts index a3d3159..3cdef6e 100644 --- a/src/i18n/zh.ts +++ b/src/i18n/zh.ts @@ -315,4 +315,5 @@ export default { shichangtishi:"", renshutishi: '', tixianzhu:"", + zhibotishi:"" } \ No newline at end of file diff --git a/src/store/index.ts b/src/store/index.ts index c33920c..e29eedb 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -65,6 +65,7 @@ export default createStore({ symbol: "", timeCeiling: "", timeLowerLimit: "", + views:0 }, qh: { code: "86", diff --git a/src/views/login/Login.vue b/src/views/login/Login.vue index a5a03b6..9c3d8dc 100644 --- a/src/views/login/Login.vue +++ b/src/views/login/Login.vue @@ -142,7 +142,7 @@ export default defineComponent({ const time = ref(60);//倒计时 const phone = ref(""); // 手机号 const code =ref("") - const myquhao=ref("86") + const userinfo = reactive({ phone: '13152639856', password: '123456' @@ -155,6 +155,7 @@ export default defineComponent({ name: "中国" } ]) + const myquhao=ref(mrqh.value.code) const videolist=ref([{}]) onMounted(async ()=>{ diff --git a/src/views/login/Reset.vue b/src/views/login/Reset.vue index 9078ebf..8e1ad7a 100644 --- a/src/views/login/Reset.vue +++ b/src/views/login/Reset.vue @@ -170,7 +170,7 @@ export default defineComponent({ const next: (e: number) => void = async (e: number) => { if(e==2){ console.log(uinfo) - const res=await checkuser(toRaw(uinfo.value)) + const res: any = await checkuser(toRaw(uinfo.value)) console.log(res.data.memberid) if(res.code==0){ // stepnow.value = e; diff --git a/src/views/login/Sign.vue b/src/views/login/Sign.vue index 5a60f7e..6d68e00 100644 --- a/src/views/login/Sign.vue +++ b/src/views/login/Sign.vue @@ -247,11 +247,7 @@ export default defineComponent({ wrapperCol: 14, }; const time = ref(60); //倒计时初始化 - const phone = ref({ - quhao: "86", - phone: "", - code: "", - }); + const userinfo = ref({ pass: "", passtow: "", @@ -262,6 +258,11 @@ export default defineComponent({ }); const willsay = ref(); const mrqh = computed(() => store.state.qh) + const phone = ref({ + quhao: mrqh.value.code, + phone: "", + code: "", + }); const quhaolist = ref([ { code: "86", diff --git a/src/views/mine/Archives.vue b/src/views/mine/Archives.vue index 9a3e44b..1260c55 100644 --- a/src/views/mine/Archives.vue +++ b/src/views/mine/Archives.vue @@ -180,7 +180,8 @@ :customRequest="uploads" :beforeUpload="video" > -
+
+
+
+ + +

@@ -539,7 +548,7 @@ import { } from "@/api/index"; import { message } from "ant-design-vue"; import { useI18n } from "@/utils/i18n"; -import { provenimg, provenvideo } from '@/utils/common'; +import { provenimg, provenvideo, saveValue } from '@/utils/common'; export default defineComponent({ name: "Archives", @@ -584,7 +593,7 @@ export default defineComponent({ const quhaolist = ref([]); const mrqh = computed(() => store.state.qh) - const myquhao = ref(""); + const myquhao = ref(mrqh.value.code); const mynewtel = ref(""); @@ -798,16 +807,16 @@ export default defineComponent({ * 修改密码 * @return { void } */ - function updateUserPassword(): void { + async function updateUserPassword(): Promise { passwordForm.memberid = userinfo.value.memberid console.log(toRaw(passwordForm)); if ( - toRaw(passwordForm).password === toRaw(passwordForm).topassword + toRaw(passwordForm).password === toRaw(passwordForm).topassword ) { if (toRaw(passwordForm).original != "") { // console.log(toRaw(passwordForm).password); - editpassword(toRaw(passwordForm)); - togglePasswordModal(false); + const res = await editpassword(toRaw(passwordForm)); + togglePasswordModal(res); } else { message.error(lan.$t('yuanmimaweikong')); } @@ -916,6 +925,7 @@ export default defineComponent({ if (reg.test(userinfo.value.email)) { await putmember(uesrinfo); if(lan.$s() != uesrinfo.languageValue){ + saveValue("Lanvuage", uesrinfo.languageValue) location.reload(); } } else { @@ -939,7 +949,7 @@ export default defineComponent({ } const uploadprogress: Ref = ref(0); async function uploads(file: AntUpload) { - + console.log(1111) uploadprogress.value = 1; issum = false; const res = await uploadflie(file.file, (info: any) => { @@ -948,6 +958,7 @@ export default defineComponent({ uploadprogress.value = jindu > 0 ? jindu : 1; }); userinfo.value.video = res.video.url; + formData.value.video = res.video.url; userinfo.value.videoid = res.fileId; issum = true; } diff --git a/src/views/mine/ReleaseWebcast.vue b/src/views/mine/ReleaseWebcast.vue index 79d1ddb..85d471d 100644 --- a/src/views/mine/ReleaseWebcast.vue +++ b/src/views/mine/ReleaseWebcast.vue @@ -222,6 +222,10 @@

{{ lan.$t("querenquxiao") }}

+
+ {{ lan.$t("zhibotishi") }} + +