b7116ee1d46813a1ee44b01ecb0b27bb.json 2.7 KB

1
  1. {"remainingRequest":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/vue-loader/lib/index.js??vue-loader-options!/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/src/layout/components/InnerLink/index.vue?vue&type=script&lang=js","dependencies":[{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/src/layout/components/InnerLink/index.vue","mtime":1708395041882},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/cache-loader/dist/cjs.js","mtime":1708395146433},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/babel-loader/lib/index.js","mtime":1708395147257},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/cache-loader/dist/cjs.js","mtime":1708395146433},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/vue-loader/lib/index.js","mtime":1708395147382}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:CmltcG9ydCB7IHJlbGF0aXZlIH0gZnJvbSAncGF0aCc7CgpleHBvcnQgZGVmYXVsdCB7CiAgZGF0YSgpIHsKICAgIHJldHVybiB7fTsKICB9LAogIHJlbmRlcigpIHsKICAgIGNvbnN0IHsgJHJvdXRlOiB7IG1ldGE6IHsgbGluayB9IH0sIH0gPSB0aGlzOwogICAgaWYgKHsgbGluayB9LmxpbmsgPT09ICIiKSB7CiAgICAgIHJldHVybiAiNDA0IjsKICAgIH0KICAgIGxldCB1cmwgPSB7IGxpbmsgfS5saW5rOwogICAgY29uc3QgaGVpZ2h0ID0gZG9jdW1lbnQuZG9jdW1lbnRFbGVtZW50LmNsaWVudEhlaWdodCAtIDEwMCArICJweCI7CiAgICBjb25zdCBzdHlsZSA9IHsgCiAgICAgIGhlaWdodDogaGVpZ2h0LCAgICAgIAogICAgfTsKCiAgICByZXR1cm4gKAogICAgICA8ZGl2IGNsYXNzPSJsaW5rUG9zaXRpb24iIHN0eWxlPXtzdHlsZX0+CiAgICAgICAgPGlmcmFtZQogICAgICAgICAgc3JjPXt1cmx9CiAgICAgICAgICBmcmFtZWJvcmRlcj0ibm8iCiAgICAgICAgICBzdHlsZT0id2lkdGg6IDEwMCU7IGhlaWdodDogMTAwJSIKICAgICAgICAgIHNjcm9sbGluZz0iYXV0byIKICAgICAgICA+PC9pZnJhbWU+CiAgICAgIDwvZGl2PgogICAgKTsKICB9LAp9Owo="},{"version":3,"sources":["index.vue"],"names":[],"mappings":";AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.vue","sourceRoot":"src/layout/components/InnerLink","sourcesContent":["<script>\nimport { relative } from 'path';\n\nexport default {\n data() {\n return {};\n },\n render() {\n const { $route: { meta: { link } }, } = this;\n if ({ link }.link === \"\") {\n return \"404\";\n }\n let url = { link }.link;\n const height = document.documentElement.clientHeight - 100 + \"px\";\n const style = { \n height: height, \n };\n\n return (\n <div class=\"linkPosition\" style={style}>\n <iframe\n src={url}\n frameborder=\"no\"\n style=\"width: 100%; height: 100%\"\n scrolling=\"auto\"\n ></iframe>\n </div>\n );\n },\n};\n</script>\n<style lang=\"scss\" scoped>\n.linkPosition{\n position: relative;\n top: 45px;\n}\n</style>"]}]}