/* * @Author: zhaojinfeng 121016171@qq.com * @Date: 2023-07-23 16:27:37 * @LastEditors: zhaojinfeng 121016171@qq.com * @LastEditTime: 2023-08-14 20:41:25 * @FilePath: \vue3\stories\MaskText.stories.ts * @Description: * */ import type { Meta, StoryObj } from '@storybook/vue3' import ThMaskText from '../packages/mask-text/index.vue' const meta = { title: '数据展示/MaskText', component: ThMaskText, tags: ['autodocs'], args: { text: '1234567890', left: 2, right: 2, disabled: false, }, } satisfies Meta export default meta type Story = StoryObj export const Base: Story = { name: '基本使用', } export const Disabled: Story = { name: '禁用点击事件', args: { text: '不可见不可见不可见不可见', left: 3, right: 3, disabled: true, }, }