vconsole回来了
This commit is contained in:
@@ -68,6 +68,7 @@
|
|||||||
"postcss-comment": "^2.0.0",
|
"postcss-comment": "^2.0.0",
|
||||||
"query-string": "^7.1.1",
|
"query-string": "^7.1.1",
|
||||||
"uview-ui": "^1.8.4",
|
"uview-ui": "^1.8.4",
|
||||||
|
"vconsole": "^3.11.2",
|
||||||
"vue-template-compiler": "^2.6.11"
|
"vue-template-compiler": "^2.6.11"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import store from './store';
|
|||||||
import axios from './common/axios';
|
import axios from './common/axios';
|
||||||
import utils from './common/util';
|
import utils from './common/util';
|
||||||
import ui from 'uview-ui'
|
import ui from 'uview-ui'
|
||||||
|
import VConsole from 'vconsole'
|
||||||
|
|
||||||
const loading = title => {
|
const loading = title => {
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
@@ -25,7 +26,7 @@ Vue.prototype.$http = axios;
|
|||||||
Vue.prototype.$cdn = 'https://cdn.cunwuyun.cn/dvcp/h5/';
|
Vue.prototype.$cdn = 'https://cdn.cunwuyun.cn/dvcp/h5/';
|
||||||
Object.keys(utils).map((e) => (Vue.prototype['$' + e] = utils[e]));
|
Object.keys(utils).map((e) => (Vue.prototype['$' + e] = utils[e]));
|
||||||
App.mpType = 'app';
|
App.mpType = 'app';
|
||||||
// process.env.NODE_ENV == 'development' && new VConsole();
|
process.env.NODE_ENV == 'development' && new VConsole();
|
||||||
const app = new Vue({
|
const app = new Vue({
|
||||||
store,
|
store,
|
||||||
...App
|
...App
|
||||||
|
|||||||
@@ -39,9 +39,6 @@ if (document.documentElement.clientWidth > 1024) {
|
|||||||
<link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css"/>
|
<link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css"/>
|
||||||
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js" referrerpolicy="origin"></script>
|
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js" referrerpolicy="origin"></script>
|
||||||
<script src="https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js" referrerpolicy="origin"></script>
|
<script src="https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js" referrerpolicy="origin"></script>
|
||||||
<!-- 测试使用-->
|
|
||||||
<script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.11.2/vconsole.min.js"></script>
|
|
||||||
<!--end-->
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
Reference in New Issue
Block a user