Compare commits

..

No commits in common. "be0492f952852b7c2be7031d98a3a158436e4310" and "77a9977cc64f0f218140630152b9f045c0a647ae" have entirely different histories.

4 changed files with 6 additions and 6 deletions

View File

@ -41,7 +41,7 @@
}, },
"quickapp" : {}, "quickapp" : {},
"mp-weixin" : { "mp-weixin" : {
"appid" : "wxd86ebf13689eac0d", "appid" : "wxccd7e2a0911b3397",
"setting" : { "setting" : {
"urlCheck" : false, "urlCheck" : false,
"es6" : false, "es6" : false,

View File

@ -172,7 +172,7 @@ export default {
mqttClient: null, mqttClient: null,
temp: "", temp: "",
mqttConfig: { mqttConfig: {
host: '122.51.109.52', host: '1.94.254.176',
port: 9001, port: 9001,
username: 'admin', username: 'admin',
password: 'Admin#12345678', password: 'Admin#12345678',
@ -359,7 +359,7 @@ export default {
//todo //todo
// this.status[type] = this.status[type] === 0 ? 1 : 0; // this.status[type] = this.status[type] === 0 ? 1 : 0;
// this.show[type] = this.status[type] === 0 ? "" : ""; // this.show[type] = this.status[type] === 0 ? "" : "";
} }
} }
@ -475,7 +475,7 @@ export default {
if (isSuccess) { if (isSuccess) {
this.status[type] = this.status[type] === 0 ? 1 : 0; this.status[type] = this.status[type] === 0 ? 1 : 0;
this.show[type] = this.status[type] === 0 ? "暂停" : "运行"; this.show[type] = this.status[type] === 0 ? "运行" : "暂停";
} }
this.deviceType = ''; this.deviceType = '';
this.$modal.msgSuccess("设备操作成功!") this.$modal.msgSuccess("设备操作成功!")

View File

@ -238,7 +238,7 @@ export default {
return { return {
// MQTT // MQTT
mqttConfig: { mqttConfig: {
broker: 'ws://122.51.109.52:9001/mqtt', // broker: 'ws://1.94.254.176:9001/mqtt', //
clientId: 'uniapp_mqtt_' + Math.random().toString(16).substr(2, 8), clientId: 'uniapp_mqtt_' + Math.random().toString(16).substr(2, 8),
username: 'admin', username: 'admin',
password: 'Admin#12345678', password: 'Admin#12345678',