You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
975 B
JavaScript

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d21f30a"],{d987:function(t,e,n){"use strict";n.r(e);var u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[t._v(t._s(t.msg))])},s=[],o=n("5f87"),c=n("b775");function i(t){return Object(c["a"])({url:"/getway/geturl/"+t,method:"get"})}var r=n("c24f"),a={data:function(){return{msg:""}},created:function(){Object(o["d"])(),this.webset()},mounted:function(){},methods:{webset:function(){var t=this,e=this.$route.query.code,n=this.$route.query.webid;n?Object(o["b"])()?this.urlgo(n):e?Object(r["b"])({code:e}).then((function(e){Object(o["e"])(e.data.token),setTimeout((function(){t.urlgo(n)}),100)})):this.msg="授权登录失败,缺少code":(this.msg="参数webid丢失",this.$message({message:"参数webid丢失"}))},urlgo:function(t){var e=this;i(t).then((function(t){e.$router.push(t.data)}))}}},d=a,h=n("2877"),b=Object(h["a"])(d,u,s,!1,null,null,null);e["default"]=b.exports}}]);