src/components/tools/Ditching.vue
@@ -70,6 +70,7 @@ ElMessage.warning('请输入有效的开挖深度!'); } }; watch( () => form.digDepth, (newVal) => { @@ -97,6 +98,8 @@ depth: depth }; emit('update-excavation-data', result); ElMessage.success('实现开挖功能!'); }; const handleClear = () => { isDrawing.value = false;