1 line
1.8 KiB
JSON
1 line
1.8 KiB
JSON
{"remainingRequest":"/Users/kang/Gitea/vue-element-admin-i18n/node_modules/vue-loader/lib/index.js??vue-loader-options!/Users/kang/Gitea/vue-element-admin-i18n/src/views/login/auth-redirect.vue?vue&type=script&lang=js","dependencies":[{"path":"/Users/kang/Gitea/vue-element-admin-i18n/src/views/login/auth-redirect.vue","mtime":1599486365000},{"path":"/Users/kang/Gitea/vue-element-admin-i18n/node_modules/cache-loader/dist/cjs.js","mtime":1754408227855},{"path":"/Users/kang/Gitea/vue-element-admin-i18n/node_modules/babel-loader/lib/index.js","mtime":1754408228132},{"path":"/Users/kang/Gitea/vue-element-admin-i18n/node_modules/cache-loader/dist/cjs.js","mtime":1754408227855},{"path":"/Users/kang/Gitea/vue-element-admin-i18n/node_modules/vue-loader/lib/index.js","mtime":1754408228175}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:CmV4cG9ydCBkZWZhdWx0IHsKICBuYW1lOiAnQXV0aFJlZGlyZWN0JywKICBjcmVhdGVkKCkgewogICAgY29uc3QgaGFzaCA9IHdpbmRvdy5sb2NhdGlvbi5zZWFyY2guc2xpY2UoMSkKICAgIGlmICh3aW5kb3cubG9jYWxTdG9yYWdlKSB7CiAgICAgIHdpbmRvdy5sb2NhbFN0b3JhZ2Uuc2V0SXRlbSgneC1hZG1pbi1vYXV0aC1jb2RlJywgaGFzaCkKICAgICAgd2luZG93LmNsb3NlKCkKICAgIH0KICB9LAogIHJlbmRlcjogZnVuY3Rpb24oaCkgewogICAgcmV0dXJuIGgoKSAvLyBhdm9pZCB3YXJuaW5nIG1lc3NhZ2UKICB9Cn0K"},{"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>\nexport default {\n name: 'AuthRedirect',\n created() {\n const hash = window.location.search.slice(1)\n if (window.localStorage) {\n window.localStorage.setItem('x-admin-oauth-code', hash)\n window.close()\n }\n },\n render: function(h) {\n return h() // avoid warning message\n }\n}\n</script>\n"]}]} |