1234567891011121314151617181920212223242526272829303132 |
- import sheep from '@/sheep';
- import {
- computed
- } from 'vue';
- const userInfo = computed(() => sheep.$store('user').userInfo);
- export function isBetaUser() {
- const username = userInfo.value.username;
- return username === 'ru10' || username === '迷鹿' || username === '非繁';
- }
- export function isAndroid() {
- return window.Android && window.Android.getIdentifier();
- }
- export function getAndroidJiGuangId() {
- return window.Android && window.Android.getRegistrationID();
- }
|