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