|
@@ -193,8 +193,10 @@ const clickItem = (item) => {
|
|
|
diagItem.icdText = item.name
|
|
|
diagItem.diagType = '1'
|
|
|
showDiagType.value = true
|
|
|
- } else if (props.showMallType) {
|
|
|
- item.type = params.target
|
|
|
+ } else {
|
|
|
+ if (props.showMallType) {
|
|
|
+ item.type = params.target
|
|
|
+ }
|
|
|
emits('clickItem', item)
|
|
|
}
|
|
|
}
|