mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 19:06:45 +08:00
开发
This commit is contained in:
@@ -365,14 +365,25 @@ export default {
|
|||||||
isPublic: state.searchParam.isPublic || null
|
isPublic: state.searchParam.isPublic || null
|
||||||
};
|
};
|
||||||
console.log("获取标签列表 参数 : ",params);
|
console.log("获取标签列表 参数 : ",params);
|
||||||
const res = await portalPageList(params);
|
// const res = await portalPageList(params);
|
||||||
console.log("获取标签列表 结果 : ",res);
|
// console.log("获取标签列表 结果 : ",res);
|
||||||
if (res.status === 200) {
|
// if (res.status === 200) {
|
||||||
state.tableData = res.result?.list || [];
|
// state.tableData = res.result?.list || [];
|
||||||
state.tableDataTotal = res.result?.count || 0;
|
// state.tableDataTotal = res.result?.count || 0;
|
||||||
} else {
|
// } else {
|
||||||
message.error('获取数据失败1');
|
// message.error('获取数据失败1');
|
||||||
}
|
// }
|
||||||
|
portalPageList(params).then ((res) => {
|
||||||
|
console.log("获取标签列表 结果 : ",res);
|
||||||
|
console.log("获取标签列表 结果 : ",res.status);
|
||||||
|
if (res.status === 200) {
|
||||||
|
state.tableData = res.result?.list || [];
|
||||||
|
state.tableDataTotal = res.result?.count || 0;
|
||||||
|
}else {
|
||||||
|
message.error('获取数据失败1');
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
message.error('获取数据失败2');
|
message.error('获取数据失败2');
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Reference in New Issue
Block a user