liuying
2024-12-01 6db85a1b10d891a3871775c2c555fd681cb7da34
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
  }
}