feat: 字段修改
parent
a0242f154f
commit
29c122cfd7
|
|
@ -26,7 +26,7 @@ const userStore = useUserStore()
|
|||
//chat.ycymedu.com
|
||||
//chatv2.ycymedu.com
|
||||
const url = ref(
|
||||
`https://chat.ycymedu.com?userId=${userStore.userInfo.estimatedAchievement.wxId}&subjectGroup=${userStore.userInfo.estimatedAchievement.subjectGroup}&expectedScore=${userStore.userInfo.estimatedAchievement.expectedScore}&provinceName=${userStore.userInfo.estimatedAchievement.provinceName}&token=${userStore.userInfo.token}`,
|
||||
`https://chat.ycymedu.com?userId=${userStore.userInfo.estimatedAchievement.wxId}&subjectGroup=${userStore.userInfo.estimatedAchievement.subjectGroup}&expectedScore=${userStore.userInfo.estimatedAchievement.expectedScore}&provinceName=${userStore.userInfo.estimatedAchievement.provinceName}&locationCode=${userStore.userInfo.estimatedAchievement.provinceCode}&token=${userStore.userInfo.token}`,
|
||||
)
|
||||
|
||||
const handleChildMessage = (event) => {
|
||||
|
|
@ -43,9 +43,9 @@ onLoad((options) => {
|
|||
if (options.fileId) {
|
||||
url.value += `&fileId=${options.fileId}`
|
||||
}
|
||||
if (options.locationCode) {
|
||||
url.value += `&locationCode=${options.locationCode}`
|
||||
}
|
||||
// if (options.locationCode) {
|
||||
// url.value += `&locationCode=${options.locationCode}`
|
||||
// }
|
||||
// const recorderManager = uni.getRecorderManager()
|
||||
// recorderManager.onError((res) => {
|
||||
// console.log('录音错误', res)
|
||||
|
|
|
|||
|
|
@ -85,8 +85,9 @@ const handleDownload = (item) => {
|
|||
location: userStore.userInfo.estimatedAchievement.provinceCode,
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
const resp = res.result as { url: string }
|
||||
uni.downloadFile({
|
||||
url: res.result as string,
|
||||
url: resp.url,
|
||||
filePath: '',
|
||||
success: function (res) {
|
||||
if (res.statusCode === 200) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue