mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 12:17:24 +00:00
fix random resource.
This commit is contained in:
@@ -11,6 +11,7 @@ export default function RandomPage() {
|
||||
network.getRandomResource().then((res) => {
|
||||
if (res.success) {
|
||||
navigate(`/resources/${res.data!.id}`, {
|
||||
replace: true,
|
||||
state: {
|
||||
resource: res.data,
|
||||
},
|
||||
|
Reference in New Issue
Block a user