Commit 97f18279 authored by haiyoucuv's avatar haiyoucuv

init

parent ea48a030
......@@ -29,7 +29,11 @@ class ResPage extends React.Component<any, any> {
}
clickItem = (item) => {
if (item.url) {
location.href = item.url
} else {
location.href = `/aaw/projectx/takePrize?projectOrderNo=${item.id}`
}
}
render() {
......
......@@ -21,7 +21,9 @@ class ResStore {
prizeList = [];
async updatePrizeList() {
const { success, data } = await API.records();
const { success, data } = await API.records({
ignoreSp: true,
});
if (!success) return;
this.prizeList = data;
}
......
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