Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
archives-miniapp
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
heyihong
archives-miniapp
Commits
e481a2e7
Commit
e481a2e7
authored
Sep 18, 2024
by
何怡红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试获取用户信息
parent
c2414f2e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
main.ts
src/main.ts
+2
-2
fileQuery.vue
src/pages/fileQuery/fileQuery.vue
+10
-0
No files found.
src/main.ts
View file @
e481a2e7
...
...
@@ -6,8 +6,8 @@ import Vconsole from 'vconsole';
export
function
createApp
()
{
const
app
=
createSSRApp
(
App
);
app
.
use
(
store
);
//
const vConsole = new Vconsole();
//
app.use(vConsole);
const
vConsole
=
new
Vconsole
();
app
.
use
(
vConsole
);
return
{
app
,
};
...
...
src/pages/fileQuery/fileQuery.vue
View file @
e481a2e7
...
...
@@ -158,6 +158,16 @@ const submitForm = () => {
const
goback
=
()
=>
{
show
.
value
=
true
;
};
onLoad
(()
=>
{
xma
.
xh
.
getUserProfile
({
range
:
[
'ACCOUNT'
],
success
(
info
)
{
// info.data:
// { uAvatar: '', uIdCardNo: '', uMobile: '', uName: '', uNickname: '', uid: '' }
console
.
log
(
info
.
data
);
},
});
});
</
script
>
<
style
lang=
"scss"
>
.banner
{
...
...
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