(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/try/try"],{222:function(e,t,n){"use strict";(function(e,t){var r=n(4);n(26);r(n(25));var a=r(n(223));e.__webpack_require_UNI_MP_PLUGIN__=n,t(a.default)}).call(this,n(1)["default"],n(2)["createPage"])},223:function(e,t,n){"use strict";n.r(t);var r=n(224),a=n(226);for(var c in a)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(c);var u,o=n(36),i=Object(o["default"])(a["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],u);i.options.__file="pages/try/try.vue",t["default"]=i.exports},224:function(e,t,n){"use strict";n.r(t);var r=n(225);n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),n.d(t,"components",(function(){return r["components"]}))},225:function(e,t,n){"use strict";var r;n.r(t),n.d(t,"render",(function(){return a})),n.d(t,"staticRenderFns",(function(){return u})),n.d(t,"recyclableRender",(function(){return c})),n.d(t,"components",(function(){return r}));var a=function(){var e=this,t=e.$createElement;e._self._c},c=!1,u=[];a._withStripped=!0},226:function(e,t,n){"use strict";n.r(t);var r=n(227),a=n.n(r);for(var c in r)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(c);t["default"]=a.a},227:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(30)),c=r(n(32)),u={data:function(){return{msg:{deviceId:"b44f96f00ff0"},pic:"",gatewayDeviceId:"d825b0036120"}},methods:{resetDevice:function(){var t=this;return(0,c.default)(a.default.mark((function n(){var r,c;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.showLoading({mask:!0,icon:"none",title:"正在重置设备"}),n.next=3,e.$http.post("/api/v1/test/bluetooth/resetDevice",t.msg);case 3:r=n.sent,c=r.data,console.log(c),e.hideLoading(),200==c.code?t.$u.toast("重置成功"):t.$u.toast("重置失败");case 8:case"end":return n.stop()}}),n)})))()},getFacePic:function(){var t=this;return(0,c.default)(a.default.mark((function n(){var r,c;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$http.get("/api/v1/test/user/facePic/".concat(1));case 2:r=n.sent,c=r.data,console.log(c.data),t.pic="data:image/jpg;base64,"+c.data;case 6:case"end":return n.stop()}}),n)})))()},gate:function(){var t=this;return(0,c.default)(a.default.mark((function n(){var r,c;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$http.get("/api/v1/test/gateway/connection/".concat(t.gatewayDeviceId));case 2:r=n.sent,c=r.data,console.log(c);case 5:case"end":return n.stop()}}),n)})))()}},onLoad:function(){e.showToast({title:"我在测试",duration:1e4}),setInterval((function(){e.showToast({title:"2我在测试",duration:1e4})}),1e4)}};t.default=u}).call(this,n(2)["default"])}},[[222,"common/runtime","common/vendor"]]]); //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/try/try.js.map