{"remainingRequest":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\style-vw-loader\\index.js??ref--0-2!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\src\\components\\common\\XKModal.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\src\\components\\common\\XKModal.vue","mtime":1663828782923},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\babel.config.js","mtime":1663828782900},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\style-vw-loader\\index.js","mtime":1540864632000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar preventBrowserBack = function preventBrowserBack() {\n history.pushState(null, null, document.URL);\n};\n/* \r\n 使用vuex this.$store.dispatch(\"openModal\", {})打开弹窗,具体参数去store查看\r\n*/\n\n\nexport default {\n name: 'xk-modal',\n props: {\n params: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n data: function data() {\n return {};\n },\n computed: {\n modal: function modal() {\n var _this = this;\n\n var obj = this.$store.getters['getModalParams'];\n\n if (obj && obj.height) {\n this.$nextTick(function () {\n if (_this.$refs.xkModal && _this.$refs.xkModal.$el && _this.$refs.xkModal.$el.childNodes) {\n _this.$refs.xkModal.$el.childNodes[0].style.height = obj.height;\n }\n });\n }\n\n if (obj.show) {\n history.pushState(null, null, document.URL);\n window.addEventListener('popstate', preventBrowserBack, false);\n } else {\n window.removeEventListener('popstate', preventBrowserBack);\n }\n\n return obj;\n }\n },\n methods: {\n close: function close() {\n this.$store.dispatch('closeModal');\n },\n submit: function submit(id) {\n var component = this.$refs[id];\n component.submit && component.submit();\n }\n }\n};",{"version":3,"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDA;AACAA;AACA,CAFA;AAGA;AACA;AACA;;;AACA;AACAC,kBADA;AAEAC;AACAC;AACAC,kBADA;AAEAC,aAFA,sBAEA;AACA;AACA;AAJA;AADA,GAFA;AAUAC,MAVA,kBAUA;AACA;AACA,GAZA;AAaAC;AACAC,SADA,mBACA;AAAA;;AACA;;AACA;AACA;AACA;AACA;AACA;AACA,SAJA;AAKA;;AACA;AACAR;AACAS;AACA,OAHA,MAGA;AACAA;AACA;;AACA;AACA;AAjBA,GAbA;AAgCAC;AACAC,SADA,mBACA;AACA;AAEA,KAJA;AAKAC,UALA,kBAKAC,EALA,EAKA;AACA;AACAC;AACA;AARA;AAhCA","names":["history","name","props","params","type","default","data","computed","modal","window","methods","close","submit","id","component"],"sourceRoot":"src/components/common","sources":["XKModal.vue"],"sourcesContent":["/*\r\n * @Author: wf \r\n * @Date: 2021-09-Tu 05:49:30 \r\n * @Last Modified by: wf \r\n * @Last Modified time: 2021-09-Tu 05:49:30 \r\n */\r\n\r\n\r\n \r\n \r\n \r\n {{ modal.title }}\r\n \r\n (\r\n *为必填项)\r\n \r\n \r\n \r\n \r\n {{ modal.cancelButtonText || '取消' }}\r\n {{ modal.confirmButtonText || '确认' }}\r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n"]}]}