|
@@ -257,7 +257,7 @@
|
|
|
<div :class="[adminIndex ===index ? 'patch-item':'list-item']" v-for="(item,index) in adminData" :key="index">
|
|
|
<div class="list-item-photo" @click="admintheSchool(item.id,index,item)">
|
|
|
<div class="headerPhoto">
|
|
|
- <el-image style="width: 55px; height: 55px;border-radius:50%" :src="item.picture" fit="fill" v-if="item.picture !=='' "></el-image>
|
|
|
+ <el-image style="width: 55px; height: 55px;border-radius:50%" :src="item.picture" fit="fill" v-if="item.picture"></el-image>
|
|
|
<PersonalPhoto style="cursor: pointer;" :name="item.name" width="55px" height="55px" v-else></PersonalPhoto>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1154,7 +1154,7 @@ export default {
|
|
|
}
|
|
|
function areaSearch () {
|
|
|
loading.value = true
|
|
|
- let datas = optionData.value
|
|
|
+ let datas = originalDatas.value
|
|
|
let newArr = datas.filter((item) => {
|
|
|
return item.name.includes(areaValues.value)
|
|
|
})
|
|
@@ -1232,6 +1232,7 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
watch(areaValues, (newdata) => {
|
|
|
+ console.log(newdata, '触发搜索内容')
|
|
|
if (newdata.trim().length !== 0) {
|
|
|
debounce(areaSearch, 500)
|
|
|
} else {
|