1
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 21s
Docker Build & Deploy / Deploy to Production (push) Successful in 6s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 1s

This commit is contained in:
SunCheng
2026-01-20 19:56:29 +08:00
parent 66cfd71ef5
commit a2bfff5790
12 changed files with 92 additions and 165 deletions

View File

@@ -141,7 +141,11 @@ const quickQuestions = [
// 返回
const onClickLeft = () => {
router.back()
if (window.history.length > 1) {
router.back()
} else {
router.replace('/')
}
}
// 点击提示词按钮

View File

@@ -106,7 +106,11 @@ const onLoad = async () => {
// 返回上一页
const handleBack = () => {
router.back()
if (window.history.length > 1) {
router.back()
} else {
router.replace('/')
}
}
// 页面加载

View File

@@ -202,7 +202,11 @@ const handleBack = () => {
currentType.value = null
categories.value = []
} else {
router.back()
if (window.history.length > 1) {
router.back()
} else {
router.replace('/')
}
}
}

View File

@@ -104,7 +104,11 @@ const showRecordsList = ref(false) // 控制记录列表弹窗
// 返回按钮
const onClickLeft = () => {
router.back()
if (window.history.length > 1) {
router.back()
} else {
router.replace('/')
}
}
// 将带目标分类的记录转换为普通交易记录格式供列表显示

View File

@@ -110,11 +110,19 @@ const onClickLeft = () => {
message: '有未保存的分类结果,确定要离开吗?'
})
.then(() => {
router.back()
if (window.history.length > 1) {
router.back()
} else {
router.replace('/')
}
})
.catch(() => {})
} else {
router.back()
if (window.history.length > 1) {
router.back()
} else {
router.replace('/')
}
}
}

View File

@@ -129,7 +129,11 @@ const dateOptions = ref([{ text: '全部日期', value: '' }])
* 返回上一页
*/
const handleBack = () => {
router.back()
if (window.history.length > 1) {
router.back()
} else {
router.replace('/')
}
}
/**

View File

@@ -365,7 +365,11 @@ const onLoad = () => {
// 返回上一页
const handleBack = () => {
router.back()
if (window.history.length > 1) {
router.back()
} else {
router.replace('/')
}
}
// 获取周期类型文本

View File

@@ -119,7 +119,11 @@ onMounted(() => {
})
const onClickLeft = () => {
router.back()
if (window.history.length > 1) {
router.back()
} else {
router.replace('/')
}
}
const handleExecute = async (task) => {

View File

@@ -152,6 +152,12 @@
<div class="card-header">
<h3 class="card-title">
收入
<span
class="income-text"
style="font-size: 13px; margin-left: 4px"
>
¥{{ formatMoney(monthlyData.totalIncome) }}
</span>
</h3>
<van-tag
type="success"

View File

@@ -68,7 +68,11 @@ const currentTransaction = ref(null)
const selectedIds = ref(new Set())
const onClickLeft = () => {
router.back()
if (window.history.length > 1) {
router.back()
} else {
router.replace('/')
}
}
const handleConfirmSelected = async () => {