diff --git a/src/views/manage/calculate/edit.vue b/src/views/manage/calculate/edit.vue index 47f423b..b66a6f2 100644 --- a/src/views/manage/calculate/edit.vue +++ b/src/views/manage/calculate/edit.vue @@ -192,8 +192,8 @@ function handleFileChange(file) { let jsonStr = JSON.stringify(res); formData.parameters = jsonStr; formRef.value.validateField("parameters"); - let json = JSON.parse(jsonStr); - codeHtml.value = highlightJSON(json); + //let json = JSON.parse(jsonStr); + codeHtml.value = res;//highlightJSON(json); fileStatus.value = true; } }); diff --git a/src/views/manage/otherTool/index.vue b/src/views/manage/otherTool/index.vue index 540685a..60ff0dc 100644 --- a/src/views/manage/otherTool/index.vue +++ b/src/views/manage/otherTool/index.vue @@ -157,7 +157,7 @@ function handleDetail(row: { [key: string]: any }) { /** 新增第三方工具链 */ function handleAdd() { - router.push({ path: "/tester/otherToolEdit" }); + router.push({ path: "/tester/otherToolAdd" }); } onMounted(() => {