优化展示
This commit is contained in:
@@ -107,7 +107,7 @@ export default {
|
|||||||
this.loading = true;
|
this.loading = true;
|
||||||
this.error = null;
|
this.error = null;
|
||||||
try {
|
try {
|
||||||
const response = await getRecipes({ page: 1, page_size: 999 });
|
const response = await getRecipes({ page: 1, page_size: 999, order_by: "id DESC" });
|
||||||
this.recipes = response.data.list || [];
|
this.recipes = response.data.list || [];
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.error = err.message || '未知错误';
|
this.error = err.message || '未知错误';
|
||||||
|
|||||||
Reference in New Issue
Block a user