forked from opentiny/tiny-vue
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:
parent
d4706a3441
commit
25c3e6fb00
|
@ -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, {
|
||||
|
|
|
@ -1210,6 +1210,7 @@ export default {
|
|||
IconSortTriangle,
|
||||
IconSortTriangleAscending,
|
||||
IconSortTriangleDescending,
|
||||
IconPromptExclamation,
|
||||
IconPrompt,
|
||||
IconExpand,
|
||||
IconPutAway,
|
||||
|
|
Loading…
Reference in New Issue