Commit 3f80dbda by 张杰

修复bug

1 parent ef16a493
......@@ -7,7 +7,7 @@ export const fenceShortcuts = [
onClick(picker) {
const end = "";
const start = "";
picker.$emit("pick", [start, end]);
picker.$emit("pick", []);
},
}, {
text: "今日",
......@@ -66,7 +66,7 @@ export const shutDownShortcuts = [
onClick(picker) {
const end = "";
const start = "";
picker.$emit("pick", [start, end]);
picker.$emit("pick", []);
},
},
{
......
......@@ -129,7 +129,7 @@ export default {
label: "当前电量",
prop: "soc",
formatter: (row) => {
return `${row.soc||0}%`;
return `${(row.soc || row.soc==0)?row.soc + '%':'--'}`;
},
},
],
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!