This commit is contained in:
小李 2026-03-24 15:20:11 +08:00
parent 6229949c1a
commit fb6942abbd
3 changed files with 143 additions and 143 deletions

View File

@ -27,7 +27,7 @@ export function createApp() {
const systemInfo = uni.getStorageSync('systemInfo') || {}
app.config.globalProperties.$system = systemInfo.platform == 'ios' ? 'iOS' : 'Android'
app.config.globalProperties.$systemInfo = systemInfo
uni.setStorageSync('version', '1.0.3.sp8')
uni.setStorageSync('version', '1.0.3.sp9')
app.config.globalProperties.$version = uni.getStorageSync('version')
app.use(globalMethods);

View File

@ -33,8 +33,6 @@
let callLogList = ref();
onLoad((option) => {
data.type=option.type
})
onReady(() => {

View File

@ -30,7 +30,10 @@ import {
util
} from '@/utils/common.js';
const { appContext, proxy } = getCurrentInstance();
const {
appContext,
proxy
} = getCurrentInstance();
//
const source = ref([{
name: '苹果',
@ -100,17 +103,16 @@ onLoad((options) => {
if (options.type) {
data.type = options.type
}
})
function goPage(url) {
if (url) {
proxy.$apiUserEvent('all', {
type: 'event',
key: data.type == 'message' ? 'message' : 'call-log',
prefix: '.uni.other.',
value: data.type == 'message' ? '短信' : "通话"
})
})
function goPage(url) {
if (url) {
util.goPage(url)
} else {
uni.showToast({