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)