{"remainingRequest":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\examine-fvue\\node_modules\\@jiaminghi\\data-view\\lib\\components\\fullScreenContainer\\src\\main.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\@jiaminghi\\data-view\\lib\\components\\fullScreenContainer\\src\\main.vue","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n\nimport autoResize from '../../../mixin/autoResize.js'\n\nexport default {\n name: 'DvFullScreenContainer',\n mixins: [autoResize],\n data () {\n return {\n ref: 'full-screen-container',\n allWidth: 0,\n scale: 0,\n datavRoot: '',\n ready: false\n }\n },\n methods: {\n afterAutoResizeMixinInit () {\n const { initConfig, setAppScale } = this\n\n initConfig()\n\n setAppScale()\n\n this.ready = true\n },\n initConfig () {\n const { dom } = this\n const { width, height } = screen\n\n this.allWidth = width\n\n dom.style.width = `${width}px`\n dom.style.height = `${height}px`\n },\n setAppScale () {\n const { allWidth, dom } = this\n\n const currentWidth = document.body.clientWidth\n\n dom.style.transform = `scale(${currentWidth / allWidth})`\n },\n onResize () {\n const { setAppScale } = this\n\n setAppScale()\n }\n }\n}\n",null]}