故障类型 :{{
@@ -200,6 +200,11 @@ const onRequest: QTable['onRequest'] = async (props) => {
rows.splice(0, rows.length, ...(resp.records as []));
if (rows.length) {
handleRowClick(rows[0]);
+ } else {
+ clickRowInfo.faultType = '';
+ clickRowInfo.faultNameShower = '';
+ clickRowInfo.faultDriverShower = '';
+ clickRowInfo.resultMsg = '';
}
} catch (err) {
$q.notify({
@@ -331,7 +336,7 @@ const onDialogShow = () => {
}
.box-card {
width: 450px;
- height: 225px;
+ height: 235px;
margin-bottom: 10px;
padding: 0 5px;
.head {
diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue
index a5d5d0b..d2159a7 100644
--- a/src/layouts/MainLayout.vue
+++ b/src/layouts/MainLayout.vue
@@ -108,7 +108,7 @@