Files
education/frontend/node_modules/.cache/vue-loader/e72dd09df8b9ffeeef84f96600a0e94c.json
T

1 line
2.7 KiB
JSON

{"remainingRequest":"C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\Admin\\Desktop\\education\\frontend\\src\\components\\iFrame\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\src\\components\\iFrame\\index.vue","mtime":1787567871524},{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1787309791955},{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\babel-loader\\lib\\index.js","mtime":1787309793142},{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1787309791955},{"path":"C:\\Users\\Admin\\Desktop\\education\\frontend\\node_modules\\vue-loader\\lib\\index.js","mtime":1787309793790}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KDQpleHBvcnQgZGVmYXVsdCB7DQogIHByb3BzOiB7DQogICAgc3JjOiB7DQogICAgICB0eXBlOiBTdHJpbmcsDQogICAgICByZXF1aXJlZDogdHJ1ZQ0KICAgIH0sDQogIH0sDQogIGRhdGEoKSB7DQogICAgcmV0dXJuIHsNCiAgICAgIGhlaWdodDogZG9jdW1lbnQuZG9jdW1lbnRFbGVtZW50LmNsaWVudEhlaWdodCAtIDk0LjUgKyAicHg7IiwNCiAgICAgIGxvYWRpbmc6IHRydWUsDQogICAgICB1cmw6IHRoaXMuc3JjDQogICAgfQ0KICB9LA0KICBtb3VudGVkOiBmdW5jdGlvbiAoKSB7DQogICAgc2V0VGltZW91dCgoKSA9PiB7DQogICAgICB0aGlzLmxvYWRpbmcgPSBmYWxzZQ0KICAgIH0sIDMwMCkNCiAgICBjb25zdCB0aGF0ID0gdGhpcw0KICAgIHdpbmRvdy5vbnJlc2l6ZSA9IGZ1bmN0aW9uIHRlbXAoKSB7DQogICAgICB0aGF0LmhlaWdodCA9IGRvY3VtZW50LmRvY3VtZW50RWxlbWVudC5jbGllbnRIZWlnaHQgLSA5NC41ICsgInB4OyINCiAgICB9DQogIH0NCn0NCg=="},{"version":3,"sources":["index.vue"],"names":[],"mappings":";;;;;;;;;;;AAWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.vue","sourceRoot":"src/components/iFrame","sourcesContent":["<template>\r\n <div v-loading=\"loading\" :style=\"'height:' + height\">\r\n <iframe\r\n :src=\"src\"\r\n frameborder=\"no\"\r\n style=\"width: 100%; height: 100%\"\r\n scrolling=\"auto\"\r\n />\r\n </div>\r\n</template>\r\n<script>\r\nexport default {\r\n props: {\r\n src: {\r\n type: String,\r\n required: true\r\n },\r\n },\r\n data() {\r\n return {\r\n height: document.documentElement.clientHeight - 94.5 + \"px;\",\r\n loading: true,\r\n url: this.src\r\n }\r\n },\r\n mounted: function () {\r\n setTimeout(() => {\r\n this.loading = false\r\n }, 300)\r\n const that = this\r\n window.onresize = function temp() {\r\n that.height = document.documentElement.clientHeight - 94.5 + \"px;\"\r\n }\r\n }\r\n}\r\n</script>\r\n"]}]}