fix QueryPage equalsExample arg
This commit is contained in:
@ -68,7 +68,7 @@ Page({
|
|||||||
index: 0,
|
index: 0,
|
||||||
size: 8,
|
size: 8,
|
||||||
type: JournalPageType.NORMAL,
|
type: JournalPageType.NORMAL,
|
||||||
equealsExample: {
|
equalsExample: {
|
||||||
type: "NORMAL"
|
type: "NORMAL"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -178,7 +178,7 @@ Page({
|
|||||||
index: this.data.page.index + 1,
|
index: this.data.page.index + 1,
|
||||||
size: 8,
|
size: 8,
|
||||||
type: JournalPageType.NORMAL,
|
type: JournalPageType.NORMAL,
|
||||||
equealsExample: {
|
equalsExample: {
|
||||||
type: "NORMAL"
|
type: "NORMAL"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -229,11 +229,9 @@ Page({
|
|||||||
"url": "/pages/main/journal-creater/index?from=journal"
|
"url": "/pages/main/journal-creater/index?from=journal"
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
toDetail() {
|
toSearch() {
|
||||||
wx.showToast({
|
wx.navigateTo({
|
||||||
title: "此功能暂不可用",
|
url: "/pages/main/journal-search/index"
|
||||||
icon: "none",
|
|
||||||
duration: 2000
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1,13 +1,14 @@
|
|||||||
// pages/main/portfolio/index.ts
|
// pages/main/portfolio/index.ts
|
||||||
|
|
||||||
import config from "../../../config/index";
|
import config from "../../../config/index";
|
||||||
|
import { JournalPage, JournalPageType } from "../../../types/Journal";
|
||||||
import { QueryPage } from "../../../types/Model";
|
import { QueryPage } from "../../../types/Model";
|
||||||
import Events from "../../../utils/Events";
|
import Events from "../../../utils/Events";
|
||||||
import Time from "../../../utils/Time";
|
import Time from "../../../utils/Time";
|
||||||
import { Journal, JournalItemType } from "../journal/index";
|
import { Journal, JournalItemType } from "../journal/index";
|
||||||
|
|
||||||
interface IPortfolioData {
|
interface IPortfolioData {
|
||||||
page: QueryPage;
|
page: JournalPage;
|
||||||
list: Journal[];
|
list: Journal[];
|
||||||
isFetching: boolean;
|
isFetching: boolean;
|
||||||
isFinished: boolean;
|
isFinished: boolean;
|
||||||
@ -19,7 +20,8 @@ Page({
|
|||||||
page: {
|
page: {
|
||||||
index: 0,
|
index: 0,
|
||||||
size: 8,
|
size: 8,
|
||||||
likeMap: {
|
type: JournalPageType.NORMAL,
|
||||||
|
equalsExample: {
|
||||||
type: "PORTFOLIO"
|
type: "PORTFOLIO"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -34,7 +36,8 @@ Page({
|
|||||||
page: {
|
page: {
|
||||||
index: 0,
|
index: 0,
|
||||||
size: 8,
|
size: 8,
|
||||||
likeMap: {
|
type: JournalPageType.NORMAL,
|
||||||
|
equalsExample: {
|
||||||
type: "PORTFOLIO"
|
type: "PORTFOLIO"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -105,7 +108,8 @@ Page({
|
|||||||
page: {
|
page: {
|
||||||
index: this.data.page.index + 1,
|
index: this.data.page.index + 1,
|
||||||
size: 8,
|
size: 8,
|
||||||
likeMap: {
|
type: JournalPageType.NORMAL,
|
||||||
|
equalsExample: {
|
||||||
type: "PORTFOLIO"
|
type: "PORTFOLIO"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -17,7 +17,7 @@ export type QueryPage = {
|
|||||||
index: number;
|
index: number;
|
||||||
size: number;
|
size: number;
|
||||||
orderMap?: { [key: string]: OrderType };
|
orderMap?: { [key: string]: OrderType };
|
||||||
equealsExample?: { [key: string]: string | undefined | null };
|
equalsExample?: { [key: string]: string | undefined | null };
|
||||||
likeExample?: { [key: string]: string | undefined | null };
|
likeExample?: { [key: string]: string | undefined | null };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user