Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gjjCode
Project
Project
Details
Activity
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
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
tanjuanjuan
gjjCode
Commits
60ea7ca3
Commit
60ea7ca3
authored
Dec 26, 2024
by
tanjuanjuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
d141d036
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
index.vue
src/pages/index/index.vue
+8
-4
No files found.
src/pages/index/index.vue
View file @
60ea7ca3
...
...
@@ -237,16 +237,20 @@
onMounted
(()
=>
{
const
xing
=
computed
(()
=>
{
return
pInfo
.
value
?.
spname
.
slice
(
0
,
1
).
replace
(
/^
[
"'
]
|
[
"'
]
$/g
,
''
)
if
(
pInfo
.
value
)
{
return
pInfo
.
value
.
spname
.
slice
(
0
,
1
)
}
})
const
ch
=
computed
(()
=>
{
return
pInfo
.
value
?.
sex
==
'女'
?
'女士'
:
'先生'
;
if
(
pInfo
.
value
)
{
return
pInfo
.
value
.
sex
==
'女'
?
'女士'
:
'先生'
;
}
})
const
YandM
=
computed
(()
=>
{
if
(
pInfo
.
value
)
{
let
year
=
String
(
pInfo
.
value
.
zghjny
)
.
slice
(
0
,
4
)
let
month
=
String
(
pInfo
.
value
.
zghjny
)
.
slice
(
4
,
6
)
let
year
=
pInfo
.
value
.
zghjny
.
slice
(
0
,
4
)
let
month
=
pInfo
.
value
.
zghjny
.
slice
(
4
,
6
)
return
year
+
'年'
+
month
+
'月'
}
})
...
...
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