从随访切到基线再切到随访,测量工具会被禁用,当前访视无法标记
continuous-integration/drone/push Build is passing Details

uat
wangxiaoshuang 2025-05-12 15:38:21 +08:00
parent 122c76d9b2
commit b2645f6423
1 changed files with 5 additions and 1 deletions

View File

@ -1836,7 +1836,11 @@ export default {
this.setToolEnabled() this.setToolEnabled()
} }
} else { } else {
if (this.criterionType === 0) return if (this.criterionType === 0) {
this.tools[i].isDisabled = false
e.target.style.cursor = 'pointer'
return
}
const obj = this.$refs[`ecrf_${this.lastViewportTaskId}`][0].validTool(toolName, true) const obj = this.$refs[`ecrf_${this.lastViewportTaskId}`][0].validTool(toolName, true)
this.tools[i].disabledReason = obj.reason this.tools[i].disabledReason = obj.reason
if (!obj.isCanActiveTool) { if (!obj.isCanActiveTool) {