fix: 解决编辑器失焦报错的问题

This commit is contained in:
奔跑的面条 2022-07-21 10:33:41 +08:00
parent 7ed8fbfcbf
commit 102e50be8f

View File

@ -125,6 +125,7 @@ const requestModelHandle = () => {
// //
const sendHandle = async () => { const sendHandle = async () => {
if(!targetData.value?.request) return
loading.value = true loading.value = true
try { try {
const res = await customizeHttp(toRaw(targetData.value.request), toRaw(chartEditStore.requestGlobalConfig)) const res = await customizeHttp(toRaw(targetData.value.request), toRaw(chartEditStore.requestGlobalConfig))