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 api = ['state']
|
||||||
|
|
||||||
export const renderless = (props, { computed, reactive }, { parent }) => {
|
export const renderless = (props, { computed, reactive, inject }, { parent }) => {
|
||||||
const api = {}
|
const api = {}
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
row: computed(() => api.row()),
|
row: computed(() => api.row()),
|
||||||
style: computed(() => api.getStyle()),
|
style: computed(() => api.getStyle()),
|
||||||
className: computed(() => api.getClassName())
|
className: computed(() => api.getClassName()),
|
||||||
|
layout: inject('layout')
|
||||||
})
|
})
|
||||||
|
|
||||||
Object.assign(api, {
|
Object.assign(api, {
|
||||||
|
|
|
@ -1210,6 +1210,7 @@ export default {
|
||||||
IconSortTriangle,
|
IconSortTriangle,
|
||||||
IconSortTriangleAscending,
|
IconSortTriangleAscending,
|
||||||
IconSortTriangleDescending,
|
IconSortTriangleDescending,
|
||||||
|
IconPromptExclamation,
|
||||||
IconPrompt,
|
IconPrompt,
|
||||||
IconExpand,
|
IconExpand,
|
||||||
IconPutAway,
|
IconPutAway,
|
||||||
|
|
Loading…
Reference in New Issue