|
|
@@ -127,8 +127,8 @@ import AppIconfont from '@mobile/components/base/iconfont/index.vue'
|
|
|
import { queryBankAccountSign } from '@/services/api/bank'
|
|
|
import { queryUserAccount } from '@/services/api/account'
|
|
|
import { AuthStatus, getAuthStatusName } from '@/constants/account'
|
|
|
+import eventBus from '@/services/bus'
|
|
|
import AppRegisterCode from '@mobile/components/modules/register-code/index.vue'
|
|
|
-import plus from '@/utils/h5plus'
|
|
|
|
|
|
const { router, routerTo } = useNavigation()
|
|
|
const { userId, loginId, firstAccountId } = loginStore.$mapGetters()
|
|
|
@@ -186,21 +186,12 @@ const doInOutMoney = (tab: string) => {
|
|
|
}
|
|
|
|
|
|
const userLogout = () => {
|
|
|
-
|
|
|
- plus.onPlusReady((plus) => {
|
|
|
- plus.share.sendWithSystem({ type: 'text', content: '分享内容', href: 'http://www.dcloud.io/' }, function () {
|
|
|
- console.log('分享成功');
|
|
|
- }, function (e: Error) {
|
|
|
- console.log('分享失败:' + JSON.stringify(e));
|
|
|
- })
|
|
|
+ dialog({
|
|
|
+ message: '是否退出当前账号?',
|
|
|
+ showCancelButton: true
|
|
|
+ }).then(() => {
|
|
|
+ eventBus.$emit('LogoutNotify')
|
|
|
})
|
|
|
-
|
|
|
- // dialog({
|
|
|
- // message: '是否退出当前账号?',
|
|
|
- // showCancelButton: true
|
|
|
- // }).then(() => {
|
|
|
- // eventBus.$emit('LogoutNotify')
|
|
|
- // })
|
|
|
}
|
|
|
|
|
|
onActivated(() => {
|