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

1 line
4.2 KiB
JSON

{"ast":null,"code":"import vueJsonEditor from 'vue-json-editor';\nconst components = {\n vueJsonEditor\n};\nconst data = function () {\n return {\n project_info: {\n api_name: \"\",\n api_cn_name: \"\",\n api_url: \"\",\n api_type: \"\",\n api_status_one: 100728834,\n api_status_two: 2,\n api_path: \"\",\n api_out: \"\"\n }\n };\n};\nfunction mounted() {}\nconst methods = {\n next() {\n this.$emit('submit_data', {\n \"project_info\": this.project_info\n });\n },\n above() {\n this.$emit('father_above');\n },\n onJsonChange(value) {\n //实时保存\n this.onJsonSave(value);\n },\n onJsonSave(value) {\n this.resultInfo = value;\n this.hasJsonFlag = true;\n },\n onError(value) {\n this.hasJsonFlag = false;\n },\n //检查json\n checkJson() {\n if (this.hasJsonFlag == false) {\n this.$message.error(\"json验证失败\");\n returnfalse;\n } else {\n this.$message.success(\"json验证成功\");\n return true;\n }\n }\n};\nexport default {\n data: data,\n methods: methods,\n mounted: mounted,\n components: components\n};","map":{"version":3,"names":["vueJsonEditor","components","data","project_info","api_name","api_cn_name","api_url","api_type","api_status_one","api_status_two","api_path","api_out","mounted","methods","next","$emit","above","onJsonChange","value","onJsonSave","resultInfo","hasJsonFlag","onError","checkJson","$message","error","returnfalse","success"],"sources":["/Users/xubincheng/Desktop/job/零代码/zero_project/Project1/main/client/src/components/data_manage/APIManagement/base_api_components/page_two/page_two.js"],"sourcesContent":["import vueJsonEditor from 'vue-json-editor'\r\n\r\nconst components = {\r\n vueJsonEditor\r\n}\r\n\r\nconst data = function () {\r\n return {\r\n project_info: {\r\n api_name: \"\",\r\n api_cn_name: \"\",\r\n api_url: \"\",\r\n api_type: \"\",\r\n api_status_one: 100728834,\r\n api_status_two: 2,\r\n api_path: \"\",\r\n api_out: \"\"\r\n },\r\n }\r\n}\r\n\r\nfunction mounted() {\r\n\r\n}\r\n\r\nconst methods = {\r\n next() {\r\n this.$emit('submit_data', { \"project_info\": this.project_info });\r\n },\r\n above() {\r\n this.$emit('father_above');\r\n },\r\n onJsonChange(value) {\r\n //实时保存\r\n this.onJsonSave(value)\r\n },\r\n onJsonSave(value) {\r\n this.resultInfo = value\r\n this.hasJsonFlag = true\r\n },\r\n onError(value) {\r\n this.hasJsonFlag = false\r\n },\r\n //检查json\r\n checkJson() {\r\n if (this.hasJsonFlag == false) {\r\n this.$message.error(\"json验证失败\")\r\n returnfalse\r\n } else {\r\n this.$message.success(\"json验证成功\")\r\n return true\r\n }\r\n },\r\n}\r\n\r\nexport default {\r\n data: data,\r\n methods: methods,\r\n mounted: mounted,\r\n components: components,\r\n}"],"mappings":"AAAA,OAAOA,aAAa,MAAM,iBAAiB;AAE3C,MAAMC,UAAU,GAAG;EACfD;AACJ,CAAC;AAED,MAAME,IAAI,GAAG,SAAAA,CAAA,EAAY;EACrB,OAAO;IACHC,YAAY,EAAE;MACVC,QAAQ,EAAE,EAAE;MACZC,WAAW,EAAE,EAAE;MACfC,OAAO,EAAE,EAAE;MACXC,QAAQ,EAAE,EAAE;MACZC,cAAc,EAAE,SAAS;MACzBC,cAAc,EAAE,CAAC;MACjBC,QAAQ,EAAE,EAAE;MACZC,OAAO,EAAE;IACb;EACJ,CAAC;AACL,CAAC;AAED,SAASC,OAAOA,CAAA,EAAG,CAEnB;AAEA,MAAMC,OAAO,GAAG;EACZC,IAAIA,CAAA,EAAG;IACH,IAAI,CAACC,KAAK,CAAC,aAAa,EAAE;MAAE,cAAc,EAAE,IAAI,CAACZ;IAAa,CAAC,CAAC;EACpE,CAAC;EACDa,KAAKA,CAAA,EAAG;IACJ,IAAI,CAACD,KAAK,CAAC,cAAc,CAAC;EAC9B,CAAC;EACDE,YAAYA,CAACC,KAAK,EAAE;IAChB;IACA,IAAI,CAACC,UAAU,CAACD,KAAK,CAAC;EAC1B,CAAC;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