优化展示
This commit is contained in:
@@ -107,7 +107,7 @@ export default {
|
||||
this.loading = true;
|
||||
this.error = null;
|
||||
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 || [];
|
||||
} catch (err) {
|
||||
this.error = err.message || '未知错误';
|
||||
|
||||
Reference in New Issue
Block a user