merge upstream

This commit is contained in:
2025-09-23 08:22:33 +08:00

View File

@ -118,7 +118,7 @@
'battery-yellow': Number(scope.row.battery) >= 20 && Number(scope.row.battery) < 80,
'battery-green': Number(scope.row.battery) >= 80 && Number(scope.row.battery) <= 100
}">
{{ scope.row.battery }}%
{{ scope.row.battery || '0'}}%
</div>
</template>
</el-table-column>
@ -306,7 +306,6 @@ const handleControl = (row: any) => {
const detailPageUrl = row.detailPageUrl;
const basePath = detailPageUrl.replace(/\/index$/, '');
const dynamicPath = `/${basePath}/${deviceId}`;
debugger;
router.push(dynamicPath); // 跳转路由
};