Browse Source

修复 字段

wzg 1 year ago
parent
commit
d9d6b968d0
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/shipManage/shipDetail.vue

+ 3 - 3
src/views/shipManage/shipDetail.vue

@@ -115,7 +115,7 @@
         <el-table-column label="操作" min-width="80" align="center">
           <template v-slot="scope">
             <el-button
-              @click="shipOwnerDetail(scope.row.userId, tableData)"
+              @click="shipOwnerDetail(scope.row.id, tableData)"
               link
               type="primary"
               size="small"
@@ -643,11 +643,11 @@ export default {
       }
     }
 
-    function shipOwnerDetail(userId) {
+    function shipOwnerDetail(shipOwnerId) {
       router.push({
         path: "/shipOwnerManage/shipOwnerDetail",
         query: {
-          userId,
+          shipOwnerId,
         },
       });
     }