提交 f5152855 编写于 作者: 邱定凯's avatar 邱定凯

update:更新

上级 5f1772d8
...@@ -45,7 +45,7 @@ const { useScrollOption, useRowKey, useRowClassName, useCustomRow, useRowSelecti ...@@ -45,7 +45,7 @@ const { useScrollOption, useRowKey, useRowClassName, useCustomRow, useRowSelecti
const renderBatchToolbar = (total: number, range: IParam[]) => { const renderBatchToolbar = (total: number, range: IParam[]) => {
return ( return (
h('div', { class: 'app-grid-batchtoolbar-container' }, [ h('div', { class: 'app-grid-batchtoolbar-container' }, [
state.selections? h(AppToolbar, { state.selections && state.selections.length > 0 ? h(AppToolbar, {
mode: 'button', mode: 'button',
class: 'app-grid-batchtoolbar', class: 'app-grid-batchtoolbar',
name: '{{ctrl.batchToolBarName}}', name: '{{ctrl.batchToolBarName}}',
......
...@@ -83,7 +83,7 @@ defineExpose({ name, state, newRow, remove, save, load, refresh, getData, export ...@@ -83,7 +83,7 @@ defineExpose({ name, state, newRow, remove, save, load, refresh, getData, export
class="app-list-batchtoolbar" class="app-list-batchtoolbar"
name="list_batchtoolbar" name="list_batchtoolbar"
:actionModel="state.batchToolbar" :actionModel="state.batchToolbar"
@onToolbarevent="onToolbarEvent"> @onToolbarEvent="onToolbarEvent">
</AppToolbar> </AppToolbar>
{{/if}} {{/if}}
</template> </template>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册