赋能案例

This commit is contained in:
851673013@qq.com 2022-06-22 18:10:37 +08:00
parent 109b82b95d
commit 9c7d3db786
2 changed files with 7 additions and 3 deletions

View File

@ -41,9 +41,12 @@
:key="index" :key="index"
@click="tabSwitch(item, index)" @click="tabSwitch(item, index)"
:class=" :class="
tabName == item.attrType (tabName == item.attrType
? 'assign-case-detail-page-content-left-border-click' ? 'assign-case-detail-page-content-left-border-click'
: '' : '') ||
(selectNow == item.id
? 'assign-case-detail-page-content-left-border-click'
: '')
" "
> >
{{ item.attrType }} {{ item.attrType }}
@ -175,7 +178,7 @@
) )
//tab //tab
const tabSwitch = (item, index) => { const tabSwitch = (item, index) => {
tabName.value = item.title tabName.value = item.attrType
if (index != 0 && index != 3) { if (index != 0 && index != 3) {
let top = let top =
document.querySelector( document.querySelector(

View File

@ -168,6 +168,7 @@
tabClickShow.value = true tabClickShow.value = true
} else { } else {
let list = [] let list = []
listBg.value = ''
init(list) init(list)
tabClickShow.value = false tabClickShow.value = false
} }