perf: 合并参数
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
* @Author: zhaojinfeng 121016171@qq.com
|
||||
* @Date: 2023-08-14 11:07:15
|
||||
* @LastEditors: zhaojinfeng 121016171@qq.com
|
||||
* @LastEditTime: 2023-09-05 18:19:09
|
||||
* @LastEditTime: 2023-09-06 20:02:01
|
||||
* @FilePath: \vue3\stories\SelectTransferModal.stories.ts
|
||||
* @Description:
|
||||
*
|
||||
@ -168,6 +168,10 @@ export const LeftSlot: Story = {
|
||||
name: '左插槽',
|
||||
args: {
|
||||
...meta.args,
|
||||
width: '90%',
|
||||
defaultParams: {
|
||||
name: '',
|
||||
},
|
||||
},
|
||||
render: args => ({
|
||||
components: { ThSelectTransferModal },
|
||||
@ -189,10 +193,9 @@ export const LeftSlot: Story = {
|
||||
:width="args.width"
|
||||
:z-index="args.zIndex"
|
||||
>
|
||||
<template #left="{ queryParams }">
|
||||
<template #left>
|
||||
<div style="width:200px">
|
||||
|
||||
<input v-model="queryParams.name" />
|
||||
<input v-model="args.defaultParams.name" />
|
||||
</div>
|
||||
</template>
|
||||
</th-select-transfer-modal>
|
||||
|
Reference in New Issue
Block a user