Files
ZERO_CODE/ZeroCodeProject/main/client/node_modules/.cache/babel-loader/fdc0b627ccc610f20ad682a44612fc7c6563ca9e55143c6deb502f7b0f28bc0b.json

1 line
6.0 KiB
JSON
Raw Normal View History

2026-01-11 00:11:34 +08:00
{"ast":null,"code":"var render = function render() {\n var _vm = this,\n _c = _vm._self._c,\n _setup = _vm._self._setupProxy;\n return _c(\"div\", {\n staticClass: \"python_scan_main\"\n }, [_c(\"el-descriptions\", {\n attrs: {\n title: \"WAF状态\"\n }\n }, [_c(\"el-descriptions-item\", {\n attrs: {\n label: \"mod_security是否安装\"\n }\n }, [_vm.waf_status.modsecurity_installed ? _c(\"el-tag\", {\n attrs: {\n type: \"success\"\n }\n }, [_vm._v(\"已经安装\")]) : _c(\"el-tag\", {\n attrs: {\n type: \"danger\"\n }\n }, [_vm._v(\"未安装\")])], 1), _c(\"el-descriptions-item\", {\n attrs: {\n label: \"mod_security是否配置\"\n }\n }, [_vm.waf_status.modsecurity_config ? _c(\"el-tag\", {\n attrs: {\n type: \"success\"\n }\n }, [_vm._v(\"已经安装\")]) : _c(\"el-tag\", {\n attrs: {\n type: \"danger\"\n }\n }, [_vm._v(\"未安装\")])], 1), _c(\"el-descriptions-item\", {\n attrs: {\n label: \"owasp_crs是否安装\"\n }\n }, [_vm.waf_status.owasp_crs ? _c(\"el-tag\", {\n attrs: {\n type: \"success\"\n }\n }, [_vm._v(\"已经安装\")]) : _c(\"el-tag\", {\n attrs: {\n type: \"danger\"\n }\n }, [_vm._v(\"未安装\")])], 1)], 1), _c(\"div\", [_c(\"el-button\", {\n attrs: {\n type: \"success\"\n }\n }, [_vm._v(\"安装WAF\")]), _c(\"el-button\", {\n attrs: {\n type: \"info\"\n }\n }, [_vm._v(\"刷新状态\")])], 1)], 1);\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\nexport { render, staticRenderFns };","map":{"version":3,"names":["render","_vm","_c","_self","_setup","_setupProxy","staticClass","attrs","title","label","waf_status","modsecurity_installed","type","_v","modsecurity_config","owasp_crs","staticRenderFns","_withStripped"],"sources":["/Users/xubincheng/Desktop/job/zero_code_all/zero_project/ZeroCodeProject/main/client/src/components/defend/defend.vue"],"sourcesContent":["var render = function render() {\n var _vm = this,\n _c = _vm._self._c,\n _setup = _vm._self._setupProxy\n return _c(\n \"div\",\n { staticClass: \"python_scan_main\" },\n [\n _c(\n \"el-descriptions\",\n { attrs: { title: \"WAF状态\" } },\n [\n _c(\n \"el-descriptions-item\",\n { attrs: { label: \"mod_security是否安装\" } },\n [\n _vm.waf_status.modsecurity_installed\n ? _c(\"el-tag\", { attrs: { type: \"success\" } }, [\n _vm._v(\"已经安装\"),\n ])\n : _c(\"el-tag\", { attrs: { type: \"danger\" } }, [\n _vm._v(\"未安装\"),\n ]),\n ],\n 1\n ),\n _c(\n \"el-descriptions-item\",\n { attrs: { label: \"mod_security是否配置\" } },\n [\n _vm.waf_status.modsecurity_config\n ? _c(\"el-tag\", { attrs: { type: \"success\" } }, [\n _vm._v(\"已经安装\"),\n ])\n : _c(\"el-tag\", { attrs: { type: \"danger\" } }, [\n _vm._v(\"未安装\"),\n ]),\n ],\n 1\n ),\n _c(\n \"el-descriptions-item\",\n { attrs: { label: \"owasp_crs是否安装\" } },\n [\n _vm.waf_status.owasp_crs\n ? _c(\"el-tag\", { attrs: { type: \"success\" } }, [\n _vm._v(\"已经安装\"),\n ])\n : _c(\"el-tag\", { attrs: { type: \"danger\" } }, [\n _vm._v(\"未安装\"),\n ]),\n ],\n 1\n ),\n ],\n 1\n ),\n _c(\n \"div\",\n [\n _c(\"el-button\", { attrs: { type: \"success\" } }, [_vm._v(\"安装WAF\")]),\n _c(\"el-button\", { attrs: { type: \"info\" } }, [_vm._v(\"刷新状态\")]),\n ],\n 1\n ),\n ],\n 1\n )\n}\nvar st