修改进度管理bug

This commit is contained in:
Teo
2025-08-26 20:38:35 +08:00
parent 8d7736b3fc
commit cec48c13af
16 changed files with 587 additions and 385 deletions

View File

@ -25,15 +25,16 @@ export const initSSE = (url: any) => {
});
watch(data, () => {
console.log('🚀 ~ initSSE ~ data:', JSON.parse(data.value));
let label = '';
let route1 = '';
let detailId = '';
try {
if (JSON.parse(data.value)) {
const obj = JSON.parse(data.value);
route1 = obj.route;
label = obj.message;
detailId = obj.detailId;
route1 = obj.type;
label = obj.content;
// detailId = obj.detailId;
data.value = null;
}
} catch (error) {