fix(col): [layout] fix layout cols=24 can't use (#1223)

* fix(col): fix layout props of cols can't use

* fix(icons): export IconPromptExclamation by default
This commit is contained in:
申君健 2023-12-28 09:29:32 +08:00 committed by GitHub
parent d4706a3441
commit 25c3e6fb00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -14,12 +14,13 @@ import { setSubitemAttrValue, setGlobalAttrValue, getClassName, getStyle, row }
export const api = ['state']
export const renderless = (props, { computed, reactive }, { parent }) => {
export const renderless = (props, { computed, reactive, inject }, { parent }) => {
const api = {}
const state = reactive({
row: computed(() => api.row()),
style: computed(() => api.getStyle()),
className: computed(() => api.getClassName())
className: computed(() => api.getClassName()),
layout: inject('layout')
})
Object.assign(api, {

View File

@ -1210,6 +1210,7 @@ export default {
IconSortTriangle,
IconSortTriangleAscending,
IconSortTriangleDescending,
IconPromptExclamation,
IconPrompt,
IconExpand,
IconPutAway,