feat: 更新收益模块,重命名路径并添加收益概览、最近记录、收益来源和收益趋势组件

This commit is contained in:
2025-12-27 20:43:43 +07:00
parent 7ce5d428b1
commit 7da1d7b1cf
7 changed files with 3 additions and 5 deletions

View File

@@ -60,8 +60,8 @@ const routes: Array<RouteRecordRaw> = [
meta: { requiresAuth: true }, meta: { requiresAuth: true },
}, },
{ {
path: "/income/total", path: "/revenue/total",
component: () => import("@/views/income/total/index.vue"), component: () => import("@/views/revenue/total/index.vue"),
meta: { requiresAuth: true }, meta: { requiresAuth: true },
}, },
{ {

View File

@@ -3,11 +3,9 @@ import { calendarOutline, listOutline, timeOutline, walletOutline } from "ionico
const { t } = useI18n(); const { t } = useI18n();
const router = useRouter(); const router = useRouter();
const { vibrate } = useHaptics();
function navigateToTotal() { function navigateToTotal() {
vibrate(); router.push("/revenue/total");
router.push("/income/total");
} }
</script> </script>