修复小程序运行报错bug
This commit is contained in:
parent
03a7c73f90
commit
3dea396d0d
3
App.vue
3
App.vue
|
|
@ -3,10 +3,7 @@
|
|||
App.vue本身不是页面,这里不能编写视图元素,也就是没有<template>
|
||||
-->
|
||||
<script setup>
|
||||
import { ref, reactive } from 'vue';
|
||||
import appConfig from '@/config/appConfig.js';
|
||||
import { onLaunch } from '@dcloudio/uni-app';
|
||||
import { checkCurrVersion, getExtStoreId } from '@/commons/utils/versionManage.js';
|
||||
|
||||
onLaunch(() => {
|
||||
// console.log(uni.getExtConfigSync(),'uni.getExtConfigSync()')
|
||||
|
|
|
|||
|
|
@ -99,9 +99,6 @@
|
|||
import {
|
||||
formatPrice
|
||||
} from "@/commons/utils/format.js";
|
||||
import {
|
||||
TRUE
|
||||
} from 'sass';
|
||||
|
||||
function priceFormat(item, key, val) {
|
||||
let min = 0;
|
||||
|
|
|
|||
|
|
@ -115,12 +115,12 @@
|
|||
}
|
||||
</style>
|
||||
<style lang="less" scoped>
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
}
|
||||
// * {
|
||||
// padding: 0;
|
||||
// margin: 0;
|
||||
// text-decoration: none;
|
||||
// outline: none;
|
||||
// }
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
16
pages.json
16
pages.json
|
|
@ -9,22 +9,6 @@
|
|||
}
|
||||
},
|
||||
"pages": [
|
||||
// {
|
||||
// "path": "pages/adStart/adStart",
|
||||
// "style": {
|
||||
// "navigationBarTitleText": "开屏广告",
|
||||
// "navigationStyle": "custom"
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// "pageId": "PAGES_INDEX",
|
||||
// "path": "pages/index/indexCopy",
|
||||
// "style": {
|
||||
// "navigationBarTitleText": "首页",
|
||||
// "navigationStyle": "custom",
|
||||
// "enablePullDownRefresh": true
|
||||
// }
|
||||
// },
|
||||
{
|
||||
"pageId": "PAGES_INDEX",
|
||||
"path": "pages/index/index",
|
||||
|
|
|
|||
|
|
@ -36,17 +36,12 @@
|
|||
} from '@/http/apiManager.js';
|
||||
import go from '@/commons/utils/go.js';
|
||||
import Stats from './components/Stats.vue';
|
||||
import registerPush from '@/commons/utils/pushmsg/registerPush.js';
|
||||
import pushMsgManage from '@/commons/utils/pushmsg/pushMsgManage.js';
|
||||
import statistics from './components/statistics.vue'
|
||||
import {
|
||||
onPullDownRefresh,
|
||||
onLoad
|
||||
} from '@dcloudio/uni-app';
|
||||
import storageManage from '@/commons/utils/storageManage.js';
|
||||
import {
|
||||
$adList
|
||||
} from '@/http/apiManager.js';
|
||||
import {
|
||||
hasPermission
|
||||
} from '@/commons/utils/hasPermission.js'
|
||||
|
|
@ -256,7 +251,6 @@
|
|||
navList.splice(index, 1);
|
||||
}
|
||||
}
|
||||
const statsRef = ref();
|
||||
|
||||
const vdata = reactive({
|
||||
noticeList: [], // 公告列表
|
||||
|
|
|
|||
|
|
@ -191,12 +191,6 @@
|
|||
const loginFormRef = ref()
|
||||
const envChangeTipsRef = ref()
|
||||
const refAgr = ref()
|
||||
// #ifdef MP-WEIXIN
|
||||
// 控制 音乐播放 和暂停
|
||||
import {
|
||||
getPushStatus
|
||||
} from "@/commons/utils/pushmsg/wxTextToSpeach.js"
|
||||
// #endif
|
||||
const rules = {
|
||||
merchantName: {
|
||||
rules: [formUtil.rules.requiredInputShowToast('商户号')],
|
||||
|
|
|
|||
Loading…
Reference in New Issue