Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
group-buy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
group-buy-ui
Commits
c785053c
Commit
c785053c
authored
Sep 24, 2021
by
Xuguangxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 更改api地址
parent
51abda43
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
validation.service.js
src/service/validation.service.js
+1
-1
payResult.vue
src/views/pay/payResult.vue
+4
-1
No files found.
src/service/validation.service.js
View file @
c785053c
...
@@ -301,7 +301,7 @@ export const isIOS = /iphone|ipad|ipod/.test(ua);
...
@@ -301,7 +301,7 @@ export const isIOS = /iphone|ipad|ipod/.test(ua);
export
const
isAndroid
=
/android/
.
test
(
ua
);
export
const
isAndroid
=
/android/
.
test
(
ua
);
// 判断
// 判断
export
const
appVersion
=
ua
.
match
(
/xyqb
\/([\d
|.
]
+
)
/
);
export
const
appVersion
=
ua
.
match
(
/xyqb
\/([\d
|.
]
+
)
/
)
?
ua
.
match
(
/xyqb
\/([\d
|.
]
+
)
/
)[
1
]
:
"
7.7.00
"
;
// 判断羊小咩环境
// 判断羊小咩环境
export
const
isXyqb
=
ua
.
match
(
/xyqb/i
)
==
"
xyqb
"
;
export
const
isXyqb
=
ua
.
match
(
/xyqb/i
)
==
"
xyqb
"
;
...
...
src/views/pay/payResult.vue
View file @
c785053c
...
@@ -134,7 +134,10 @@ export default {
...
@@ -134,7 +134,10 @@ export default {
console
.
log
(
this
.
picUrl
);
console
.
log
(
this
.
picUrl
);
},
},
async
setShareData
()
{
async
setShareData
()
{
const
[
res
]
=
await
groupBuyApi
.
getGroupShareInfo
(
this
.
orderNo
);
const
[
res
,
error
]
=
await
groupBuyApi
.
getGroupShareInfo
(
this
.
orderNo
);
if
(
error
)
{
return
this
.
$toast
(
'
获取分享数据失败
'
);
}
this
.
sharePicData
=
res
;
this
.
sharePicData
=
res
;
this
.
$refs
.
sharePic
.
createAndUploadPic
();
this
.
$refs
.
sharePic
.
createAndUploadPic
();
},
},
...
...
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