提交 11324783 编写于 作者: DCloud_JSON's avatar DCloud_JSON

预置uniCloud admin依赖的uniCloud文件,方便uniCloud admin与uni-starter配套使用时免做文件迁移

上级 f2eea22a
......@@ -77,7 +77,7 @@ export default function() {
plus.device.getOAID({
success:function(e){
callBack(e.oaid)
console.log('getOAID success: '+JSON.stringify(e));
// console.log('getOAID success: '+JSON.stringify(e));
},
fail:function(e){
fail()
......@@ -94,7 +94,7 @@ export default function() {
plus.device.getInfo({
success:function(e){
callBack(e.imei)
console.log('getOAID success: '+JSON.stringify(e));
// console.log('getOAID success: '+JSON.stringify(e));
},
fail:function(e){
fail()
......@@ -140,7 +140,7 @@ export default function() {
// #endif
}
// #endif
console.log(JSON.stringify(option));
// console.log(JSON.stringify(option));
callFunctionOption = option
},
complete(e){
......@@ -163,7 +163,7 @@ export default function() {
//如果执行错误,检查是否断网
uni.getNetworkType({
complete:res => {
console.log(res);
// console.log(res);
if (res.networkType == 'none') {
uni.showToast({
title: '手机网络异常',
......
......@@ -141,7 +141,7 @@
this.servicesList = servicesList.filter(item=>{
return item.path != this.getRoute(1)
})
console.log('servicesList',servicesList,this.servicesList);
// console.log('servicesList',servicesList,this.servicesList);
},
methods: {
...mapMutations({
......@@ -185,7 +185,7 @@
return oauthService.authorize(({
code
}) => {
console.log(code);
// console.log(code);
this.login({
code
}, type)
......@@ -283,7 +283,6 @@
})
},
login(params, type) { //联网验证登录
console.log('type--', type);
console.log({
params,
type
......
......@@ -12,7 +12,7 @@
],
"repository": "https://codechina.csdn.net/dcloud/uni-starter.git",
"engines": {
"HBuilderX": "^3.1.18"
"HBuilderX": "^3.1.20"
},
"dcloudext": {
"category": [
......
<template>
<view class="pagse">
<view class="pages">
<!-- #ifndef H5 -->
<statusBar></statusBar>
<!-- #endif -->
......@@ -118,7 +118,7 @@
</script>
<style scoped>
.pagse {
.pages {
background-color: #FFFFFF;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册