Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
scrm-wx-merchant-activity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1bef357a
authored
Nov 29, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交代码
1 parent
ea41b4f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
src/components/PayModal.vue
src/views/common/auth.vue
src/components/PayModal.vue
View file @
1bef357
...
...
@@ -110,7 +110,7 @@ export default {
obj
=
{},
phoneRex
=
/^
[
1
]([
3-9
])[
0-9
]{9}
$/
,
userInfo
=
this
.
getUserInfo
(),
platNumberRex
=
/^
[
京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z
]{1}[
A-Z
]{1}(([
A-Z0-9
]{4}[
A-Z0-9挂学警港澳
]{1}
$
)
|
([
0-9
]{5}[
DF
]
$
)
|
([
A-Z
][
A-HJ-NP-Z0-9
][
0-9
]{4}
$
))
/
platNumberRex
=
/^
(([
京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领
][
A-Z
](([
0-9
]{5}[
DF
])
|
([
A-Z
]([
A-HJ-NP-Z0-9
]){5})))
|
([
京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领
][
A-Z
][
A-HJ-NP-Z0-9
]{4}[
A-HJ-NP-Z0-9挂学警港澳使领
]))
$
/
console
.
log
(
params
)
try
{
...
...
src/views/common/auth.vue
View file @
1bef357
...
...
@@ -17,7 +17,8 @@ export default {
const
userInfo
=
this
.
getUserInfo
(),
data
=
{
nickName
:
userInfo
.
nickName
,
avatarUrl
:
userInfo
.
logo
avatarUrl
:
userInfo
.
logo
,
time
:
new
Date
().
format
(
'yyyy-MM-dd hh:mm:ss'
)
}
this
.
userInfo
=
JSON
.
stringify
(
userInfo
)
wx
.
miniProgram
.
redirectTo
({
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment