{"version":3,"sources":["webpack:///./src/utils/debounce.js","webpack:///./src/portal/main.js","webpack:///./src/utils/Bus.js"],"names":["Vue","directive","inserted","el","binding","timer","addEventListener","clearTimeout","setTimeout","value","use","VueCropper","prototype","$core","core","axios","defaults","timeout","ViewUI","VueAxios","$get","get","$post","post","$getProxy","getProxy","config","productionTip","$md5","md5","$","Bus","startPath","router","store","render","h","App","$mount","vm","$on","event","callback","this","$off","$once","$emit","args"],"mappings":"6KAAA,gCAGAA,IAAIC,UAAU,cAAe,CACzBC,SAASC,EAAIC,GACX,IAAIC,EAAQ,GACZF,EAAGG,iBAAiB,QAAS,KACvBD,GACFE,aAAaF,GAEfA,EAAQG,WAAW,KACjBJ,EAAQK,SACP,W,2DCZX,8PAiBAT,IAAIU,IAAIC,KAERX,IAAIY,UAAUC,MAAQC,aACtBC,IAAMC,SAASC,QAAU,IACzBjB,IAAIU,IAAIQ,IAAQC,IAAUJ,KAC1Bf,IAAIY,UAAUG,MAAQA,IAEtBf,IAAIY,UAAUQ,KAAOC,SACrBrB,IAAIY,UAAUU,MAAQC,UACtBvB,IAAIY,UAAUY,UAAYC,cAC1BzB,IAAI0B,OAAOC,eAAgB,EAC3B3B,IAAIY,UAAUgB,KAAOC,IACrB7B,IAAIY,UAAUkB,EAAIA,IAClB9B,IAAIY,UAAUmB,IAAMA,aAGpB,IAAIC,EAAU,GAEd,IAAIhC,IAAI,CACNiC,OAAOA,qBAAOD,GACdE,mBACAC,OAASC,GAAMA,EAAEC,gBAChBC,OAAO,S,kCCvCV,gCACA,MAAMP,EAAM,CACRQ,GAAK,IAAIvC,IACTwC,IAAIC,EAAMC,GACNC,KAAKJ,GAAGK,KAAKH,GACbE,KAAKJ,GAAGC,IAAIC,EAAMC,IAEtBE,KAAKH,EAAMC,GACPC,KAAKJ,GAAGK,KAAKH,EAAMC,IAEvBG,MAAMJ,EAAMC,GACRC,KAAKJ,GAAGM,MAAMJ,EAAMC,IAExBI,MAAML,KAAUM,GACZJ,KAAKJ,GAAGO,MAAML,KAAUM,KAGjBhB","file":"js/fnc-portal-main.fe43adb4.js","sourcesContent":["import Vue from 'vue'\r\n\r\n// 自定义全局的按钮防抖函数,一秒内点击多次只执行一次\r\nVue.directive('btnDebounce', {\r\n inserted(el, binding) {\r\n let timer = {}\r\n el.addEventListener('click', () => {\r\n if (timer) {\r\n clearTimeout(timer)\r\n }\r\n timer = setTimeout(() => {\r\n binding.value()\r\n }, 1000)\r\n })\r\n }\r\n })","import Vue from \"vue\";\r\nimport App from \"../portal/index.vue\";\r\nimport router from \"../router\";\r\nimport store from \"../store\";\r\nimport ViewUI from \"view-design\";\r\nimport axios from \"axios\";\r\nimport VueAxios from \"vue-axios\";\r\nimport md5 from 'js-md5';\r\n// import \"view-design/dist/styles/iview.css\";\r\nimport \"../utils/core.css\";\r\nimport $ from \"jquery\";\r\nimport { get, post,getProxy } from \"../api\";\r\nimport core from '../utils/core'\r\nimport VueCropper from 'vue-cropper'\r\nimport '../utils/debounce'\r\nimport Bus from '../utils/Bus';\r\n\r\nVue.use(VueCropper)\r\n\r\nVue.prototype.$core = core;\r\naxios.defaults.timeout = 300000;\r\nVue.use(ViewUI, VueAxios, axios);\r\nVue.prototype.axios = axios;\r\n\r\nVue.prototype.$get = get;\r\nVue.prototype.$post = post;\r\nVue.prototype.$getProxy = getProxy;\r\nVue.config.productionTip = false;\r\nVue.prototype.$md5 = md5;\r\nVue.prototype.$ = $;\r\nVue.prototype.Bus = Bus;\r\n\r\n//可自定义路由起码目录\r\nvar startPath=[];\r\n\r\nnew Vue({\r\n router:router(startPath),\r\n store,\r\n render: (h) => h(App),\r\n}).$mount(\"#app\");\r\n\r\n","import Vue from 'vue';\r\nconst Bus = {\r\n vm : new Vue(),\r\n $on(event,callback){\r\n this.vm.$off(event)\r\n this.vm.$on(event,callback)\r\n },\r\n $off(event,callback){\r\n this.vm.$off(event,callback)\r\n },\r\n $once(event,callback){\r\n this.vm.$once(event,callback)\r\n },\r\n $emit(event, ...args){\r\n this.vm.$emit(event, ...args)\r\n },\r\n}\r\nexport default Bus;"],"sourceRoot":""}