111117.29
This commit is contained in:
@@ -66,6 +66,7 @@ const props=defineProps({
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
const placeholder = ref("输入疾病名称、标题、作者搜索");
|
||||
watch(()=>props.type,(newVal)=>{
|
||||
if(newVal==='doctor'){
|
||||
@@ -76,6 +77,8 @@ watch(()=>props.type,(newVal)=>{
|
||||
placeholder.value='搜索疾病、症状、医院'
|
||||
}else if(newVal==='case'){
|
||||
placeholder.value='请输入疾病名称'
|
||||
}else if(newVal==='myCase'){
|
||||
placeholder.value='输入疾病名称、标题搜索'
|
||||
}
|
||||
|
||||
},{immediate: true })
|
||||
|
||||
Reference in New Issue
Block a user