Commit 97f18279 authored by haiyoucuv's avatar haiyoucuv

init

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