🌈 style: 删除console.log

This commit is contained in:
砂糖
2025-08-13 16:39:47 +08:00
parent 08168aba15
commit 53d57e4ccd
20 changed files with 305 additions and 212 deletions

View File

@@ -0,0 +1,26 @@
import { listAccount } from "@/api/finance/account";
const state = {
financialAccounts: [],
}
const mutations = {
SET_FINANCIAL_ACCOUNTS(state, financialAccounts) {
state.financialAccounts = financialAccounts;
},
}
const actions = {
getFinancialAccounts({ commit }) {
listAccount().then(response => {
commit('SET_FINANCIAL_ACCOUNTS', response.data);
});
}
}
export default {
namespaced: true,
state,
mutations,
actions
}