feat: 更新环境配置,修改 VITE_API_URL 和 @capp/eden 依赖版本,优化资产详情页面数据获取逻辑
This commit is contained in:
@@ -23,8 +23,8 @@ const [investmentQuery] = useResetRef<any>({
|
||||
});
|
||||
|
||||
const { data: allRecords, execute: executeAll } = safeClient(() => client.api.ledger.entries.get({ query: { ...allQuery.value } }));
|
||||
const { data: incomeRecords, execute: executeIncome } = safeClient(() => client.api.ledger.entries.get({ query: { ...incomeQuery.value } }));
|
||||
const { data: investmentRecords, execute: executeInvestment } = safeClient(() => client.api.ledger.entries.get({ query: { ...investmentQuery.value } }));
|
||||
const { data: incomeRecords, execute: executeIncome } = safeClient(() => client.api.ledger.entries.get({ query: { ...incomeQuery.value } }), { immediate: false });
|
||||
const { data: investmentRecords, execute: executeInvestment } = safeClient(() => client.api.ledger.entries.get({ query: { ...investmentQuery.value } }), { immediate: false });
|
||||
|
||||
// 当前选中的标签
|
||||
const selectedTab = ref<"all" | "income" | "investment">("all");
|
||||
|
||||
Reference in New Issue
Block a user