Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
lls_program
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-09-04 20:07:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b63574ada557c360a63e295193f496e355bbbcc8
b63574ad
1 parent
50d9fad3
refactor: 移除未使用的marker_id参数
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
5 deletions
src/pages/PosterCheckin/index.vue
src/pages/UploadMedia/index.vue
src/pages/PosterCheckin/index.vue
View file @
b63574a
...
...
@@ -142,7 +142,6 @@ const currentPosterIndex = ref(0) // 当前显示的海报索引
// 页面参数
const pageParams = ref({
id: '',
marker_id: ''
})
// 图片预览相关
...
...
@@ -349,7 +348,6 @@ onMounted(() => {
pageParams.value = {
id: params.id || '',
marker_id: params.marker_id || ''
}
console.log('海报打卡页面接收到的参数:', pageParams.value)
...
...
src/pages/UploadMedia/index.vue
View file @
b63574a
...
...
@@ -164,7 +164,6 @@ const previewIndex = ref(0);
const pageParams = ref({
from: '',
id: '',
marker_id: ''
});
/**
...
...
@@ -178,7 +177,6 @@ onMounted(() => {
pageParams.value = {
from: params.from || '',
id: params.id || '',
marker_id: params.marker_id || ''
};
// 根据来源设置页面标题
...
...
@@ -470,7 +468,7 @@ const saveMedia = async () => {
if (pageParams.value.from === 'checkin') {
// 如果是从打卡页面跳转过来的,带着参数跳转到海报打卡页面
Taro.redirectTo({
url: `/pages/PosterCheckin/index?id=${pageParams.value.id}
&marker_id=${pageParams.value.marker_id}
`
url: `/pages/PosterCheckin/index?id=${pageParams.value.id}`
});
} else {
// 其他情况返回上一页
...
...
Please
register
or
login
to post a comment