瀏覽代碼

修复 字段

wzg 1 年之前
父節點
當前提交
d9d6b968d0
共有 1 個文件被更改,包括 3 次插入3 次删除
  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,
         },
       });
     }