1 line
1.8 KiB
JSON
1 line
1.8 KiB
JSON
|
{"remainingRequest":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\phpstudy_pro\\WWW\\travel\\admin\\src\\views\\login\\auth-redirect.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\src\\views\\login\\auth-redirect.vue","mtime":1718070786055},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1718764957200},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\babel-loader\\lib\\index.js","mtime":1718764959024},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1718764957200},{"path":"D:\\phpstudy_pro\\WWW\\travel\\admin\\node_modules\\vue-loader\\lib\\index.js","mtime":1718764959862}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:DQpleHBvcnQgZGVmYXVsdCB7DQogIG5hbWU6ICdBdXRoUmVkaXJlY3QnLA0KICBjcmVhdGVkKCkgew0KICAgIGNvbnN0IGhhc2ggPSB3aW5kb3cubG9jYXRpb24uc2VhcmNoLnNsaWNlKDEpDQogICAgaWYgKHdpbmRvdy5sb2NhbFN0b3JhZ2UpIHsNCiAgICAgIHdpbmRvdy5sb2NhbFN0b3JhZ2Uuc2V0SXRlbSgneC1hZG1pbi1vYXV0aC1jb2RlJywgaGFzaCkNCiAgICAgIHdpbmRvdy5jbG9zZSgpDQogICAgfQ0KICB9LA0KICByZW5kZXI6IGZ1bmN0aW9uKGgpIHsNCiAgICByZXR1cm4gaCgpIC8vIGF2b2lkIHdhcm5pbmcgbWVzc2FnZQ0KICB9DQp9DQo="},{"version":3,"sources":["auth-redirect.vue"],"names":[],"mappings":";AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"auth-redirect.vue","sourceRoot":"src/views/login","sourcesContent":["<script>\r\nexport default {\r\n name: 'AuthRedirect',\r\n created() {\r\n const hash = window.location.search.slice(1)\r\n if (window.localStorage) {\r\n window.localStorage.setItem('x-admin-oauth-code', hash)\r\n window.close()\r\n }\r\n },\r\n render: function(h) {\r\n return h() // avoid warning message\r\n }\r\n}\r\n</script>\r\n"]}]}
|