Jelajahi Sumber

完善停车区域

2545307760@qq.com 3 bulan lalu
induk
melakukan
8aa078c9f2
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      web/src/view/parking/parkingInfo.vue

+ 2 - 2
web/src/view/parking/parkingInfo.vue

@@ -677,7 +677,7 @@ const positionList = reactive([])
 const addPosition = () => {
   if (positionTitle.value === t.value.GuardAdd) {
     if (positionData.parking_lot_id === 0) {
-      ElMessage.error($t.value.selectParkArea)
+      ElMessage.error(t.value.selectParkArea)
       return
     }
     if (positionData.booth_name === '' || positionData.booth_code === '' || positionData.ip_address === '') {
@@ -693,7 +693,7 @@ const addPosition = () => {
     })
   } else {
     if (positionData.parking_lot_id === 0) {
-      ElMessage.error($t.value.selectParkArea)
+      ElMessage.error(t.value.selectParkArea)
       return
     }
     if (positionData.booth_name === '' || positionData.booth_code === '' || positionData.ip_address === '') {