提交代码

main
姜玉琦 2024-07-15 21:35:45 +08:00
parent 9a6cecac19
commit 4060da1afb
2 changed files with 3 additions and 3 deletions

View File

@ -192,8 +192,8 @@ function handleFileChange(file) {
let jsonStr = JSON.stringify(res); let jsonStr = JSON.stringify(res);
formData.parameters = jsonStr; formData.parameters = jsonStr;
formRef.value.validateField("parameters"); formRef.value.validateField("parameters");
let json = JSON.parse(jsonStr); //let json = JSON.parse(jsonStr);
codeHtml.value = highlightJSON(json); codeHtml.value = res;//highlightJSON(json);
fileStatus.value = true; fileStatus.value = true;
} }
}); });

View File

@ -157,7 +157,7 @@ function handleDetail(row: { [key: string]: any }) {
/** 新增第三方工具链 */ /** 新增第三方工具链 */
function handleAdd() { function handleAdd() {
router.push({ path: "/tester/otherToolEdit" }); router.push({ path: "/tester/otherToolAdd" });
} }
onMounted(() => { onMounted(() => {