vue-form-create-auto-ops
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

vue-form-create-auto-ops

基于 vue-form-create 修改。

在输入框后面添加了上下文参数按钮,用于选择上下文参数和其他与输入框相关的事件。

表单截图

<template>
  <!-- <ElDesignForm /> -->
  <ElGenerateForm
    :data="dataJson"
    :value="valueJson"
    @handleSelectParam="handleSelectParam"
  />
</template>
const handleSelectParam = (val: any) => {
  console.log('handleSelectParam', toRaw(val))
  // { label: "单行文本", type: "input", model: "input_733a3709e38f481aa36a1ec73cfa4a77"}
}

Dependencies (8)

Dev Dependencies (27)

Package Sidebar

Install

npm i vue-form-create-auto-ops

Weekly Downloads

1

Version

1.0.6

License

MIT

Unpacked Size

10.2 MB

Total Files

8

Last publish

Collaborators

  • moodpo