修正名字

This commit is contained in:
aixianling
2021-12-22 12:09:57 +08:00
parent d36c1add6c
commit be20d05d2a
2 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ import ResidentList from "./components/residentList";
import GroupList from "./components/groupList"; import GroupList from "./components/groupList";
export default { export default {
name: "comp", name: "AppResident",
appName: "居民管理", appName: "居民管理",
components: {GroupList, ResidentList, ResidentSta}, components: {GroupList, ResidentList, ResidentSta},
data() { data() {

View File

@@ -48,7 +48,7 @@
<script> <script>
import { mapState } from 'vuex' import { mapState } from 'vuex'
export default { export default {
name: "videoSurveillance", name: "AppVideoSurveillance",
appName: "视频监控", appName: "视频监控",
data() { data() {
return { return {
@@ -79,7 +79,7 @@ export default {
this.nodes.push(row) this.nodes.push(row)
this.getMonitors(row.nodeId, row.hasChild == 1 ? 0 : 1) this.getMonitors(row.nodeId, row.hasChild == 1 ? 0 : 1)
}, },
isCurrent(index) { isCurrent(index) {
return index == Math.max(this.nodes?.length - 1, 0) return index == Math.max(this.nodes?.length - 1, 0)
}, },