當(dāng)showAll為ture的時(shí)候,即搜索區(qū)域全部展開了,將按鈕文字變成“收起搜索”,圖標(biāo)變成向上(el-icon-arrow-up)1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 data(){ return{ showAll:true;//是否展開全部 } } computed: { word: function() { if (this.showAll == false) { //對文字進(jìn)行處理 ...
www.dbjr.com.cn/article/2006...htm 2025-6-3