mirror of
				https://github.com/yangjian102621/geekai.git
				synced 2025-11-04 08:13:43 +08:00 
			
		
		
		
	Merge remote-tracking branch 'origin/ui' into ui
This commit is contained in:
		@@ -94,7 +94,9 @@ const handleRemove = async (id, reload) => {
 | 
				
			|||||||
      </a-button>
 | 
					      </a-button>
 | 
				
			||||||
    </template>
 | 
					    </template>
 | 
				
			||||||
    <template #switch="{ record, column }">
 | 
					    <template #switch="{ record, column }">
 | 
				
			||||||
 | 
					      <template v-if="record.id === 1">-</template>
 | 
				
			||||||
      <ConfirmSwitch
 | 
					      <ConfirmSwitch
 | 
				
			||||||
 | 
					        v-else
 | 
				
			||||||
        v-model="record[column.dataIndex]"
 | 
					        v-model="record[column.dataIndex]"
 | 
				
			||||||
        :api="async () => save({ ...record, status: !record.status })"
 | 
					        :api="async () => save({ ...record, status: !record.status })"
 | 
				
			||||||
      />
 | 
					      />
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user