Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
066f8f3c
Commit
066f8f3c
authored
Aug 12, 2025
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sywebview
parent
fc62666b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
sywebview.json
mock/sywebview.json
+3
-0
syWebview.vue
pages/syWebview/syWebview.vue
+7
-7
No files found.
mock/sywebview.json
0 → 100644
View file @
066f8f3c
{
"url"
:
"https://25niansuyuan.feihe.com/projects/Firmus/dev/index"
}
\ No newline at end of file
pages/syWebview/syWebview.vue
View file @
066f8f3c
...
...
@@ -61,15 +61,15 @@ export default {
const
res
=
await
fetchSyWebviewJSON
()
console
.
log
(
'res'
,
res
)
//
if (!res.data.url) {
//
uni.redirectTo({
//
url: '/pages/index/index'
//
})
//
return
//
}
if
(
!
res
.
data
.
url
)
{
uni
.
redirectTo
({
url
:
'/pages/index/index'
})
return
}
// 固定写死的 URL(不从 options 读取 baseUrl)
const
baseUrl
=
res
.
data
.
url
||
'https://25niansuyuan.feihe.com/projects/Firmus/dev/index'
;
const
baseUrl
=
res
.
data
.
url
;
const
store
=
useGlobalStore
();
const
cuk
=
store
.
cuk
;
const
openId
=
store
.
openId
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment