mirror of
				https://github.com/yangjian102621/geekai.git
				synced 2025-11-04 08:13:43 +08:00 
			
		
		
		
	feat(ui):simpleTable
This commit is contained in:
		@@ -33,7 +33,11 @@ const handleSearch = async (tips?: boolean) => {
 | 
			
		||||
onActivated(handleSearch);
 | 
			
		||||
</script>
 | 
			
		||||
<template>
 | 
			
		||||
  <slot name="header" v-bind="{ reload: handleSearch }" />
 | 
			
		||||
  <div class="simple-header">
 | 
			
		||||
    <a-space>
 | 
			
		||||
      <slot name="header" v-bind="{ reload: handleSearch }" />
 | 
			
		||||
    </a-space>
 | 
			
		||||
  </div>
 | 
			
		||||
  <div class="simple-table">
 | 
			
		||||
    <div ref="tableContainerRef" class="simple-table-container">
 | 
			
		||||
      <ATable
 | 
			
		||||
@@ -66,4 +70,7 @@ onActivated(handleSearch);
 | 
			
		||||
  align-items: center;
 | 
			
		||||
  justify-content: space-between;
 | 
			
		||||
}
 | 
			
		||||
.simple-header {
 | 
			
		||||
  padding: 16px 0;
 | 
			
		||||
}
 | 
			
		||||
</style>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user