Commit e481a2e7 authored by 何怡红's avatar 何怡红

测试获取用户信息

parent c2414f2e
......@@ -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,
};
......
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment