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

1 line
2.4 KiB
JSON
Raw Normal View History

2026-01-11 00:11:34 +08:00
{"ast":null,"code":"import { ZeroCodeAxios } from \"@/request/request\";\nconst components = {};\nconst data = function () {\n return {\n rows: [],\n edit_table_dialog: false\n };\n};\nfunction mounted() {\n this.get_all_table();\n}\nconst methods = {\n get_all_table() {\n ZeroCodeAxios({\n method: 'GET',\n url: '/zero_code_base/zero_code_main/api/'\n }).then(res => {\n this.rows = res.data.datas;\n });\n },\n handleEdit(index, row) {},\n handleDelete(index, row) {}\n};\nexport default {\n data: data,\n methods: methods,\n mounted: mounted,\n components: components\n};","map":{"version":3,"names":["ZeroCodeAxios","components","data","rows","edit_table_dialog","mounted","get_all_table","methods","method","url","then","res","datas","handleEdit","index","row","handleDelete"],"sources":["/Users/xubincheng/Desktop/job/zero_code_all/zero_project/Project1/main/client/src/components/data_manage/DatabaseManagement/NewTableManage/NewTableManage.js"],"sourcesContent":["import {ZeroCodeAxios} from \"@/request/request\";\n\nconst components = {}\n\nconst data = function () {\n return {\n rows: [],\n edit_table_dialog: false\n }\n}\n\nfunction mounted() {\n this.get_all_table()\n}\n\nconst methods = {\n get_all_table() {\n ZeroCodeAxios({\n method: 'GET',\n url: '/zero_code_base/zero_code_main/api/',\n }).then((res) => {\n this.rows = res.data.datas;\n })\n },\n handleEdit(index, row) {\n },\n handleDelete(index, row) {\n }\n}\n\nexport default {\n data: data,\n methods: methods,\n mounted: mounted,\n components: components,\n}"],"mappings":"AAAA,SAAQA,aAAa,QAAO,mBAAmB;AAE/C,MAAMC,UAAU,GAAG,CAAC,CAAC;AAErB,MAAMC,IAAI,GAAG,SAAAA,CAAA,EAAY;EACrB,OAAO;IACHC,IAAI,EAAE,EAAE;IACRC,iBAAiB,EAAE;EACvB,CAAC;AACL,CAAC;AAED,SAASC,OAAOA,CAAA,EAAG;EACf,IAAI,CAACC,aAAa,CAAC,CAAC;AACxB;AAEA,MAAMC,OAAO,GAAG;EACZD,aAAaA,CAAA,EAAG;IACZN,aAAa,CAAC;MACVQ,MAAM,EAAE,KAAK;MACbC,GAAG,EAAE;IACT,CAAC,CAAC,CAACC,IAAI,CAAEC,GAAG,IAAK;MACb,IAAI,CAACR,IAAI,GAAGQ,GAAG,CAACT,IAAI,CAACU,KAAK;IAC9B,CAAC,CAAC;EACN,CAAC;EACDC,UAAUA,CAACC,KAAK,EAAEC,GAAG,EAAE,CACvB,CAAC;EACDC,YAAYA,CAACF,KAAK,EAAEC,GAAG,EAAE,CACzB;AACJ,CAAC;AAED,eAAe;EACXb,IAAI,EAAEA,IAAI;EACVK,OAAO,EAAEA,OAAO;EAChBF,OAAO,EAAEA,OAAO;EAChBJ,UAAU,EAAEA;AAChB,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}