Files
ZERO_CODE/ZeroCodeProject/main/client/node_modules/.cache/babel-loader/501edb27a97e265178339fa532356d8cb53742793b825d3080926e4b0e4c206c.json
vermouth789 fe39320977 123
123
2026-01-11 00:11:34 +08:00

1 line
2.8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{"ast":null,"code":"const components = {};\nconst data = function () {\n return {\n scan_form: {\n ip: \"\",\n port: \"\"\n },\n tableData: [],\n columns: []\n };\n};\nfunction mounted() {}\nconst methods = {\n submit_scan() {\n const {\n url,\n method,\n data: originalData,\n then\n } = axios_config.del_data.axios;\n const data = JSON.parse(JSON.stringify(originalData));\n let new_data = this.get_config_data(data);\n // 发起请求\n axios({\n method,\n url,\n data: new_data\n }).then(res => {\n // 执行回调函数then回调\n eval(then);\n });\n }\n};\nexport default {\n data: data,\n methods: methods,\n mounted: mounted,\n components: components\n};","map":{"version":3,"names":["components","data","scan_form","ip","port","tableData","columns","mounted","methods","submit_scan","url","method","originalData","then","axios_config","del_data","axios","JSON","parse","stringify","new_data","get_config_data","res","eval"],"sources":["/Users/xubincheng/Desktop/job/zero_code_all/zero_project/ZeroCodeProject/main/client/src/components/python_scan/python_scan.js"],"sourcesContent":["\n\nconst components = {}\n\nconst data = function () {\n return {\n scan_form: {\n ip: \"\",\n port: \"\"\n },\n tableData: [],\n columns: []\n }\n}\n\nfunction mounted() {\n\n}\n\nconst methods = {\n submit_scan() {\n const { url, method, data: originalData, then } = axios_config.del_data.axios;\n const data = JSON.parse(JSON.stringify(originalData));\n let new_data = this.get_config_data(data)\n // 发起请求\n axios({\n method,\n url,\n data: new_data,\n }).then(res => {\n // 执行回调函数then回调\n eval(then)\n })\n }\n}\n\nexport default {\n data: data,\n methods: methods,\n mounted: mounted,\n components: components,\n}"],"mappings":"AAEA,MAAMA,UAAU,GAAG,CAAC,CAAC;AAErB,MAAMC,IAAI,GAAG,SAAAA,CAAA,EAAY;EACrB,OAAO;IACHC,SAAS,EAAE;MACPC,EAAE,EAAE,EAAE;MACNC,IAAI,EAAE;IACV,CAAC;IACDC,SAAS,EAAE,EAAE;IACbC,OAAO,EAAE;EACb,CAAC;AACL,CAAC;AAED,SAASC,OAAOA,CAAA,EAAG,CAEnB;AAEA,MAAMC,OAAO,GAAG;EACZC,WAAWA,CAAA,EAAG;IACV,MAAM;MAAEC,GAAG;MAAEC,MAAM;MAAEV,IAAI,EAAEW,YAAY;MAAEC;IAAK,CAAC,GAAGC,YAAY,CAACC,QAAQ,CAACC,KAAK;IAC7E,MAAMf,IAAI,GAAGgB,IAAI,CAACC,KAAK,CAACD,IAAI,CAACE,SAAS,CAACP,YAAY,CAAC,CAAC;IACrD,IAAIQ,QAAQ,GAAG,IAAI,CAACC,eAAe,CAACpB,IAAI,CAAC;IACzC;IACAe,KAAK,CAAC;MACFL,MAAM;MACND,GAAG;MACHT,IAAI,EAAEmB;IACV,CAAC,CAAC,CAACP,IAAI,CAACS,GAAG,IAAI;MACX;MACAC,IAAI,CAACV,IAAI,CAAC;IACd,CAAC,CAAC;EACN;AACJ,CAAC;AAED,eAAe;EACXZ,IAAI,EAAEA,IAAI;EACVO,OAAO,EAAEA,OAAO;EAChBD,OAAO,EAAEA,OAAO;EAChBP,UAAU,EAAEA;AAChB,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}