refactor: ♻️ 框架&业务代码分离 (#185)

Co-authored-by: tk <fiyne1a@dingtalk.com>
This commit is contained in:
2024-11-04 12:06:50 +08:00
committed by GitHub
parent 072cc1e491
commit 13ba536df2
404 changed files with 4579 additions and 1283 deletions

View File

@ -11,14 +11,14 @@
"dependencies": {
"@element-plus/icons-vue": "2.3.1",
"ace-builds": "1.36.3",
"aieditor": "1.2.3",
"aieditor": "1.2.5",
"axios": "1.7.7",
"clipboard": "2.0.11",
"core-js": "3.38.1",
"core-js": "3.39.0",
"cropperjs": "1.6.2",
"crypto-js": "4.2.0",
"echarts": "5.5.1",
"element-plus": "2.8.6",
"element-plus": "2.8.7",
"json-bigint": "1.0.0",
"json5-to-table": "0.1.8",
"markdown-it": "14.1.0",
@ -40,7 +40,7 @@
"@vitejs/plugin-vue": "5.1.4",
"prettier": "3.3.3",
"prettier-plugin-organize-attributes": "1.0.0",
"sass": "1.80.5",
"sass": "1.80.6",
"terser": "5.36.0",
"vite": "5.4.10"
},

View File

@ -45,7 +45,7 @@
:theme="this.$TOOL.data.get('APP_SET_DARK') || this.$CONFIG.APP_SET_DARK ? 'github_dark' : 'github'"
lang="json"
style="height: 10rem; width: 100%" />
<el-button @click="form.requestHeader = jsonFormat(form.requestHeader)" type="text">{{ $t('JSON格式化') }}</el-button>
<el-button @click="form.requestHeader = jsonFormat(form.requestHeader)" type="text">{{ $t('JSON 格式化') }}</el-button>
</el-form-item>
<el-form-item :label="$t('请求体')" prop="requestBody">
<v-ace-editor
@ -53,7 +53,7 @@
:theme="this.$TOOL.data.get('APP_SET_DARK') || this.$CONFIG.APP_SET_DARK ? 'github_dark' : 'github'"
lang="json"
style="height: 15rem; width: 100%" />
<el-button @click="form.requestBody = jsonFormat(form.requestBody)" type="text">{{ $t('JSON格式化') }}</el-button>
<el-button @click="form.requestBody = jsonFormat(form.requestBody)" type="text">{{ $t('JSON 格式化') }}</el-button>
</el-form-item>
<el-form-item :label="$t('请求的网络地址')" prop="requestUrl">
<el-input v-model="form.requestUrl" clearable />