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

修改大屏问题

parent e757dd75
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
(newValue, oldValue) => { (newValue, oldValue) => {
console.log('asdsa', userInfo) console.log('asdsa', userInfo)
if (userInfo.id) { 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); socketStore.connection(url);
} }
if (socketStore.ws) { if (socketStore.ws) {
......
...@@ -114,12 +114,12 @@ ...@@ -114,12 +114,12 @@
const findindex = mapData.value.findIndex((item) => item.name === element.province); const findindex = mapData.value.findIndex((item) => item.name === element.province);
if (findindex === -1) { if (findindex === -1) {
mapData.value.push({ mapData.value.push({
name: element.province, name: element.province || '',
value: element.commissionAmount, value: element.commissionAmount,
caseNum: element.caseNum, caseNum: element.caseNum,
tenants: [ tenants: [
{ {
tenantName: element.tenantName, tenantName: element.tenantName || '',
tenantId: element.tenantId, tenantId: element.tenantId,
borrowNum: element.borrowNum, borrowNum: element.borrowNum,
commissionAmount: element.commissionAmount, 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