Commit 3604e554 by 朱建香

1024

parent 153ab996
......@@ -12,12 +12,14 @@ const iot = new UIOT({
vue: Vue,
i18n: VueI18n,
appId: '10004',
appSecret: '10004',
wx: {
appId: ''
},
cloud: {
// url: 'http://wx.iotface.com'
url: 'http://192.168.2.96:20000'
// url: 'http://192.168.2.96:20000'
url: 'https://cloud.iot.u-gen.net/test-openapi/'
},
plugin: {
log: {
......
......@@ -189,3 +189,30 @@ function cloudsLogin(self, id){
});
//
}
//function cloudsLogin(self, id){
// uComponents.showLoading(self);
// iot.business.user.simpleLogin({
// data: {
// username: id
// },
// success: (response) => {
// let data = uPublic.checkResponseData(response.data);
// if(data){
// iot.navigator.openWindow({
// url: '../device/index.html',
// id: 'device'
// });
// }else{
//
// }
// },
// error: (error) => {
// console.log(error);
// uPublic.openRequestErrorAlert(self);
// },
// complete: () => {
// uComponents.hideLoading(self);
// }
// });
//}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -9515,12 +9515,14 @@ var iot = new UIOT({
vue: Vue,
i18n: _vueI18n2.default,
appId: '10004',
appSecret: '10004',
wx: {
appId: ''
},
cloud: {
// url: 'http://wx.iotface.com'
url: 'http://192.168.2.96:20000'
// url: 'http://192.168.2.96:20000'
url: 'https://cloud.iot.u-gen.net/test-openapi/'
},
plugin: {
log: {
......
......@@ -189,6 +189,33 @@ function cloudsLogin(self, id) {
});
//
}
//function cloudsLogin(self, id){
// uComponents.showLoading(self);
// iot.business.user.simpleLogin({
// data: {
// username: id
// },
// success: (response) => {
// let data = uPublic.checkResponseData(response.data);
// if(data){
// iot.navigator.openWindow({
// url: '../device/index.html',
// id: 'device'
// });
// }else{
//
// }
// },
// error: (error) => {
// console.log(error);
// uPublic.openRequestErrorAlert(self);
// },
// complete: () => {
// uComponents.hideLoading(self);
// }
// });
//}
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"]))
/***/ }),
......
......@@ -28,10 +28,10 @@
{{ $t('myInfo.editNickname') }}
<p>{{ nickname }}</p>
</v-touch>
<v-touch tag="div" class="editPassword" v-on:tap="onEditPasswordTap">
<!--<v-touch tag="div" class="editPassword" v-on:tap="onEditPasswordTap">
{{ $t('myInfo.editPassword') }}
<p>&#xe63d;&#xe63d;&#xe63d;&#xe63d;&#xe63d;&#xe63d;</p>
</v-touch>
</v-touch>-->
</div>
<u-button :init-param="componentsConfig.logoutButton.initParam" v-on:u-button-tap="onLogoutButtonTap"></u-button>
<u-dialog ref="udialog" :init-param="componentsConfig.dialog.initParam"></u-dialog>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment