细节修改

This commit is contained in:
kron
2025-11-17 15:49:53 +08:00
parent 77f0460dd3
commit 115f270ed1
3 changed files with 11 additions and 17 deletions

View File

@@ -62,16 +62,10 @@ const onSelect = (index) => {
const goBack = () => {
const pages = getCurrentPages();
if (pages.length > 1) {
const currentPage = pages[pages.length - 2];
uni.navigateBack({
delta: currentPage.route === "pages/point-book" ? 1 : 2,
});
} else {
uni.redirectTo({
url: "/pages/index",
});
}
const lastPage = pages[pages.length - 2];
uni.navigateBack({
delta: lastPage.route === "pages/point-book-edit" ? 2 : 1,
});
};
const ringRates = computed(() => {
@@ -94,7 +88,7 @@ const shareImage = async () => {
onLoad(async (options) => {
if (options.id) {
const result = await getPointBookDetailAPI(options.id || 243);
const result = await getPointBookDetailAPI(options.id || 247);
record.value = result;
const arrowData =
record.value.groups && record.value.groups[0]