feat: 更新收益模块,重命名路径并添加收益概览、最近记录、收益来源和收益趋势组件
This commit is contained in:
@@ -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 },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user