first commit
This commit is contained in:
1
unpackage/dist/build/mp-weixin/pages/me/auth.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/me/auth.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/me/auth"],{"300e":function(t,e,n){"use strict";n.r(e);var o=n("d73e"),u=n.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=u.a},"6b3a":function(t,e,n){"use strict";(function(t,e){var o=n("47a9");n("4233");o(n("3240"));var u=o(n("ae26"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(u.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"7f7f":function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o}));var o={uButton:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-button/u-button")]).then(n.bind(null,"e1a8"))}},u=function(){var t=this.$createElement;this._self._c},a=[]},ae26:function(t,e,n){"use strict";n.r(e);var o=n("7f7f"),u=n("300e");for(var a in u)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(a);var c=n("828b"),i=Object(c["a"])(u["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);e["default"]=i.exports},d73e:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,u=n("599f"),a={data:function(){return{form:{mobile:"",code:""}}},onLoad:function(e){if(o=this,e&&e.code)o.form.code=e.code,o.codelogin();else{var n=getCurrentPages(),u="pages/index/index";n.length>1&&(u=n[n.length-2].route),t.setStorageSync("login_back_path",u)}},methods:{codelogin:function(){o.$http.post("/app/v10/auth/wxoauthlogin",o.form).then((function(e){e.success&&(location.href="/"+t.getStorageSync("login_back_path"))}))},oauth:function(){location.href=u.API_URL+"/app/v10/auth/wxoauth"}}};e.default=a}).call(this,n("df3c")["default"])}},[["6b3a","common/runtime","common/vendor"]]]);
|
||||
Reference in New Issue
Block a user