template

isValueExist 为计算属性

<el-button type="success" round :disabled="isValueExist">搜寻</el-button>      

script

只有三个 value 其中一个有值,就能够显示按钮

computed:    isValueExist() {        return this.$store.state.searchPage.aValue. ||      this.$store.state.searchPage.bValue ||      this.$store.state.searchPage.cValue ?      false : true    }