no message

cyl/master-0822
jscyl13849007907 3 months ago
parent c03732498a
commit d4d4eb3c7e

@ -151,8 +151,12 @@ const lastMsgContent = computed(() => {
let _str = "[多媒体]"; let _str = "[多媒体]";
if (!lastMsg.text && lastMsg.attachment && lastMsg.attachment.raw) { if (!lastMsg.text && lastMsg.attachment && lastMsg.attachment.raw) {
if(!lastMsg.text && lastMsg.attachment && lastMsg.attachment.raw && lastMsg.attachment.ext == '.mp4' && lastMsg.attachment.url){
_str = "[视频]";
}else{
_str = "[职位] " + JSON.parse(lastMsg.attachment.raw).title; _str = "[职位] " + JSON.parse(lastMsg.attachment.raw).title;
} }
}
if (!lastMsg.text && lastMsg.attachment && lastMsg.attachment.ext == ".mp3") { if (!lastMsg.text && lastMsg.attachment && lastMsg.attachment.ext == ".mp3") {
_str = "[语音]"; _str = "[语音]";
} }

@ -10,8 +10,8 @@ let data = {
fadanBaseImg: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/dailibaoming/", fadanBaseImg: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/dailibaoming/",
loginText: '请登录', loginText: '请登录',
coziID: '7537572244600471579', coziID: '7537572244600471579',
// baseUrl:"https://daotian.matripe.com.cn",// 网络请求的基础路径 baseUrl:"https://daotian.matripe.com.cn",// 网络请求的基础路径
baseUrl: "http://192.168.3.83:8001", // 网络请求的基础路径 // baseUrl: "http://192.168.3.83:8001", // 网络请求的基础路径
// #ifdef MP-WEIXIN // #ifdef MP-WEIXIN
version: uni.getAccountInfoSync().miniProgram.version || "1.0.16", version: uni.getAccountInfoSync().miniProgram.version || "1.0.16",
// #endif // #endif

Loading…
Cancel
Save