feat: 更新收益模块,重命名路径并添加收益概览、最近记录、收益来源和收益趋势组件
This commit is contained in:
@@ -60,8 +60,8 @@ const routes: Array<RouteRecordRaw> = [
|
||||
meta: { requiresAuth: true },
|
||||
},
|
||||
{
|
||||
path: "/income/total",
|
||||
component: () => import("@/views/income/total/index.vue"),
|
||||
path: "/revenue/total",
|
||||
component: () => import("@/views/revenue/total/index.vue"),
|
||||
meta: { requiresAuth: true },
|
||||
},
|
||||
{
|
||||
|
||||
@@ -3,11 +3,9 @@ import { calendarOutline, listOutline, timeOutline, walletOutline } from "ionico
|
||||
|
||||
const { t } = useI18n();
|
||||
const router = useRouter();
|
||||
const { vibrate } = useHaptics();
|
||||
|
||||
function navigateToTotal() {
|
||||
vibrate();
|
||||
router.push("/income/total");
|
||||
router.push("/revenue/total");
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user