audit-advanced-query-mixins.js 422 B

1234567891011121314151617181920212223
  1. const auditAdvancedQueryMixins = {
  2. data() {
  3. return {
  4. expand: false,
  5. searchIconType: 'down',
  6. }
  7. },
  8. methods: {
  9. searchbtnClick() {
  10. this.expand = !this.expand
  11. if (this.expand) {
  12. this.searchIconType = 'up'
  13. } else {
  14. this.searchIconType = 'down'
  15. }
  16. },
  17. searchedClick() {
  18. this.searchbtnClick()
  19. },
  20. },
  21. }
  22. export default auditAdvancedQueryMixins