细节修改
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user