@@ -4,10 +4,8 @@
<div v-for="item in diskList" :key="item.id" class="disk-item">
<v-btn
:to="{
- name: 'phone-id',
- params: {
- id: item.id,
- },
+ path: '/rtcEngine/rtc',
+ query: item,
}"
>{{ item.diskName }}</v-btn
>
@@ -534,7 +534,7 @@
}),
headers: {
'content-Type': 'application/json',
- Authorization: token,
+ Authorization: token ?? localStorage.getItem('auth._token.password'),
},
dataType: 'json',
async: false,