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

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

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