forked from opentiny/tiny-vue
26 lines
428 B
Vue
26 lines
428 B
Vue
<template>
|
|
<tiny-logon-user v-bind="serivce"></tiny-logon-user>
|
|
</template>
|
|
|
|
<script lang="jsx">
|
|
import { LogonUser } from '@opentiny/vue'
|
|
|
|
export default {
|
|
components: {
|
|
TinyLogonUser: LogonUser
|
|
},
|
|
data() {
|
|
return {
|
|
serivce: {
|
|
getUserInfo() {
|
|
return Promise.resolve({
|
|
userCN: 'test1',
|
|
email: 'test1@test1.com'
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|