Commit 8a7b776d authored by 沈翠玲's avatar 沈翠玲

修改大屏问题

parent e757dd75
......@@ -107,7 +107,7 @@
(newValue, oldValue) => {
console.log('asdsa', userInfo)
if (userInfo.id) {
let url = window.location.origin?.replace('https://', 'wss://').replace('http://', 'ws://') + '/api/websocket/' + userInfo.id;
let url = window.location.origin?.replace('https://', 'ws://').replace('http://', 'ws://') + '/api/websocket/' + userInfo.id;
socketStore.connection(url);
}
if (socketStore.ws) {
......
......@@ -114,12 +114,12 @@
const findindex = mapData.value.findIndex((item) => item.name === element.province);
if (findindex === -1) {
mapData.value.push({
name: element.province,
name: element.province || '',
value: element.commissionAmount,
caseNum: element.caseNum,
tenants: [
{
tenantName: element.tenantName,
tenantName: element.tenantName || '',
tenantId: element.tenantId,
borrowNum: element.borrowNum,
commissionAmount: element.commissionAmount,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment