修改接口相关
This commit is contained in:
parent
5c292912fe
commit
b6a616e51f
@ -305,6 +305,9 @@ const getDetailData = async (row) => {
|
|||||||
url: `/api/yjsb/${row.rid}`,
|
url: `/api/yjsb/${row.rid}`,
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
});
|
});
|
||||||
|
if (!res || res.code !== '00000') {
|
||||||
|
throw new Error('获取物资详情失败')
|
||||||
|
}
|
||||||
if (res.code === '00000') {
|
if (res.code === '00000') {
|
||||||
if (dialogType.value === 'detail') {
|
if (dialogType.value === 'detail') {
|
||||||
model.title = `设备详情`;
|
model.title = `设备详情`;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user