|
|
@@ -138,7 +138,7 @@ function onAddClick(nodeData: CameraRouteList) {
|
|
|
if (nodeData.children && nodeData.children.length > 0) {
|
|
|
routeStr.value = nodeData.children.find(
|
|
|
item => item.description
|
|
|
- ).description;
|
|
|
+ )?.description;
|
|
|
}
|
|
|
cameraId.value = 0;
|
|
|
showCameraDialog.value = true;
|
|
|
@@ -170,6 +170,7 @@ function updateFun() {
|
|
|
</script>
|
|
|
<style lang="less" scoped>
|
|
|
.container {
|
|
|
+ flex: 1;
|
|
|
padding: 10px 10px 20px;
|
|
|
|
|
|
// 注意这里的空行是重要的
|