ZaiZai пре 1 година
родитељ
комит
fc77831547
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/alter/admin/order.vue

+ 1 - 1
src/views/alter/admin/order.vue

@@ -230,7 +230,7 @@ const tableRowClick = ({ row }) => {
 //获取详情
 const tableInfo = ref({})
 const getTableDetail = async (row) => {
-    if (row.id) return
+    if (!row.id) return
     const { data } = await mainApi.getDetail({ id: row.id })
     const info = getObjValue(data)
     info.nodeList = getArrValue(info.nodeList)