(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-page-redirect"],{"545a":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("08c1"),i=n("b26e");function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c={data:function(){return{}},computed:o({},(0,r.mapGetters)({userInfo:"getBasicUser"})),onLoad:function(e){return uni.showLoading({title:"加载中..."}),uni.switchTab({url:"/pages/home/index"}),!1},methods:{_getWxQrCodeQuery:function(e){var t=this;(0,i.getWxQrCodeQuery)({scene:e}).then((function(e){if(uni.hideLoading(),e.data.url.indexOf("https://")>-1){var t=encodeURIComponent(e.data.url);uni.navigateTo({url:"/pages/page/webview/index?returnUrl=".concat(t)})}else uni.redirectTo({url:e.data.url})})).catch((function(e){t.compatible()}))},compatible:function(){uni.hideLoading(),uni.redirectTo({url:"/pages/page/login/index"})}}};t.default=c},"54bd":function(e,t,n){"use strict";n.r(t);var r=n("545a"),i=n.n(r);for(var u in r)"default"!==u&&function(e){n.d(t,e,(function(){return r[e]}))}(u);t["default"]=i.a},a0d6:function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div")},i=[];n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}))},b09d:function(e,t,n){"use strict";n.r(t);var r=n("a0d6"),i=n("54bd");for(var u in i)"default"!==u&&function(e){n.d(t,e,(function(){return i[e]}))}(u);var o=n("4e82"),a=Object(o["a"])(i["default"],r["a"],r["b"],!1,null,null,null);t["default"]=a.exports}}]);