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
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:
@@ -141,7 +141,11 @@ const quickQuestions = [
|
||||
|
||||
// 返回
|
||||
const onClickLeft = () => {
|
||||
router.back()
|
||||
if (window.history.length > 1) {
|
||||
router.back()
|
||||
} else {
|
||||
router.replace('/')
|
||||
}
|
||||
}
|
||||
|
||||
// 点击提示词按钮
|
||||
|
||||
@@ -106,7 +106,11 @@ const onLoad = async () => {
|
||||
|
||||
// 返回上一页
|
||||
const handleBack = () => {
|
||||
router.back()
|
||||
if (window.history.length > 1) {
|
||||
router.back()
|
||||
} else {
|
||||
router.replace('/')
|
||||
}
|
||||
}
|
||||
|
||||
// 页面加载
|
||||
|
||||
@@ -202,7 +202,11 @@ const handleBack = () => {
|
||||
currentType.value = null
|
||||
categories.value = []
|
||||
} else {
|
||||
router.back()
|
||||
if (window.history.length > 1) {
|
||||
router.back()
|
||||
} else {
|
||||
router.replace('/')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -104,7 +104,11 @@ const showRecordsList = ref(false) // 控制记录列表弹窗
|
||||
|
||||
// 返回按钮
|
||||
const onClickLeft = () => {
|
||||
router.back()
|
||||
if (window.history.length > 1) {
|
||||
router.back()
|
||||
} else {
|
||||
router.replace('/')
|
||||
}
|
||||
}
|
||||
|
||||
// 将带目标分类的记录转换为普通交易记录格式供列表显示
|
||||
|
||||
@@ -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('/')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -129,7 +129,11 @@ const dateOptions = ref([{ text: '全部日期', value: '' }])
|
||||
* 返回上一页
|
||||
*/
|
||||
const handleBack = () => {
|
||||
router.back()
|
||||
if (window.history.length > 1) {
|
||||
router.back()
|
||||
} else {
|
||||
router.replace('/')
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -365,7 +365,11 @@ const onLoad = () => {
|
||||
|
||||
// 返回上一页
|
||||
const handleBack = () => {
|
||||
router.back()
|
||||
if (window.history.length > 1) {
|
||||
router.back()
|
||||
} else {
|
||||
router.replace('/')
|
||||
}
|
||||
}
|
||||
|
||||
// 获取周期类型文本
|
||||
|
||||
@@ -119,7 +119,11 @@ onMounted(() => {
|
||||
})
|
||||
|
||||
const onClickLeft = () => {
|
||||
router.back()
|
||||
if (window.history.length > 1) {
|
||||
router.back()
|
||||
} else {
|
||||
router.replace('/')
|
||||
}
|
||||
}
|
||||
|
||||
const handleExecute = async (task) => {
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user