mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-13 18:45:06 +08:00
style: detailRef => detailData
This commit is contained in:
@ -92,12 +92,12 @@ const handleChangeState = async (row: ModelVO) => {
|
||||
.catch(() => {})
|
||||
}
|
||||
// ========== 详情相关 ==========
|
||||
const detailRef = ref() // 详情 Ref
|
||||
const detailData = ref() // 详情 Ref
|
||||
|
||||
// 详情操作
|
||||
const handleDetail = async (row: ModelVO) => {
|
||||
// 设置数据
|
||||
detailRef.value = row
|
||||
detailData.value = row
|
||||
setDialogTile('detail')
|
||||
}
|
||||
|
||||
@ -198,7 +198,7 @@ getList()
|
||||
<Descriptions
|
||||
v-if="actionType === 'detail'"
|
||||
:schema="allSchemas.detailSchema"
|
||||
:data="detailRef"
|
||||
:data="detailData"
|
||||
/>
|
||||
<!-- 操作按钮 -->
|
||||
<template #footer>
|
||||
|
Reference in New Issue
Block a user