Commit 307e3916 authored by “yiyousong”'s avatar “yiyousong”

feat: 站点收藏添加分站点管理

parent 7773ad2c
......@@ -142,7 +142,9 @@ export default {
methods: {
// 获取用户常用站点列表
async getCollect() {
let res = await getCollect();
let res = await getCollect({
siteId: this.siteId,
});
if (res.code == 1) {
this.collectList = res.data;
}
......@@ -196,6 +198,7 @@ export default {
async saveCollect() {
let modelIds = this.collectList.map((v) => v.id).join(",");
let res = await saveCollect({
siteId: this.siteId,
modelIds,
});
// if (res.data.code == 1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment