From 8265412eef286cc6027c8ec6085d6b059b7ab457 Mon Sep 17 00:00:00 2001 From: Liuyi <candymxq888@outlook.com> Date: 星期五, 29 十一月 2024 17:30:18 +0800 Subject: [PATCH] 添加参数修改,设备详情 --- pages/infoBreakdown/index.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/infoBreakdown/index.vue b/pages/infoBreakdown/index.vue index 3209322..5d308e1 100644 --- a/pages/infoBreakdown/index.vue +++ b/pages/infoBreakdown/index.vue @@ -85,7 +85,7 @@ }); } async function submit(){ - if(formRef.value.validate()){ + formRef.value.validate().then(async() =>{ form.value.url = uploadList.value //去掉数组中空字符串,数组转字符串 form.value.url = form.value.url.filter(str => str !== '').join() @@ -103,11 +103,11 @@ describe:'', url:'', } - // uni.navigateBack() + uni.navigateBack() },1000) } }) - } + }) } </script> <template> -- Gitblit v1.9.3