zongzhibin
2024-11-22 3c1646a85f085cb0dd8dd386cdcdcd5a221adc4d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import {ref,computed} from 'vue'
type callback = (query: any) => any;
// form 表单展开
export function expandMore() {
  //-------顶部占位过多 展开/收起-------------
  const hidden = ref(false); 
  const openSearch = () => {
    hidden.value = !hidden.value;
  };
  return {
    openSearch,
    hidden
  }
}