diff --git a/src/views/layout/components/main/planes/index.vue b/src/views/layout/components/main/planes/index.vue index d001dbb..ab80a62 100644 --- a/src/views/layout/components/main/planes/index.vue +++ b/src/views/layout/components/main/planes/index.vue @@ -92,8 +92,8 @@ export default { } }, mounted () { - if (this.plane !== undefined) { - this.makePlane(this.plane)// 创建飞机图标 + if (this.plane) { + this.makePlane(this.plane) // 创建飞机图标 } }, watch: {