
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
dq-form-design-for-division
Advanced tools
npm run lib 或者 yarn lib
npm publish
本项目是一款基于 Avue 的表单设计器,拖拽式操作让你快速构建一个表单。
element-ui 2.13.2+
$ npm i element-ui
@smallwei/avue 2.6.16+
$ npm i @smallwei/avue
或自行引入cdn
$ npm i form-design-for-division
或
$ yarn add form-design-for-division
$ yarn
$ yarn serve
详见examples
import AvueFormDesign from 'form-design-for-division'
Vue.use(AvueFormDesign)
<avue-form-design style="height: 86vh;"
:options="options"
storage
@submit="handleSubmit"></avue-form-design>
| 参数 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| options | 字段配置 | Object/String | { column: [] } |
| storage | 开启本地存储功能,防止浏览器刷新丢失json | Boolean | false |
| asideLeftWidth | 左工具栏宽度 | String/Number | '270px' |
| asideRightWidth | 右工具栏宽度 | String/Number | '380px' |
| showAvueDoc(已废弃,请使用toolbar) | 是否显示Avue文档 | Boolean | false |
| showGithubStar | 是否显示GitHub Star | Boolean | true |
| toolbar | 顶部工具栏 | Array | ['avue-doc', 'import', 'generate', 'preview', 'clear'] |
| undoRedo | 是否开启撤销重做功能 | Boolean | true |
| includeFields | 左侧展示字段 | Array | fieldsConfig.js中配置的字段 |
| customFields | 自定义组件 | Array | 使用方法 |
| 属性 | 说明 | 类型 | 可选值 | 默认值 |
|---|---|---|---|---|
| column | Avue字段 | Array | - | [] |
| labelPosition | 字段位置 | String | 'left'/'center'/'right' | - |
| labelWidth | 字段宽度 | Number | - | - |
| gutter | 字段间隔 | Number | - | 0 |
| menuBtn | 表单按钮 | Boolean | true/false | true |
| submitBtn | 显示提交按钮 | Boolean | true/false | true |
| submitText | 提交按钮文本 | String | - | '提交' |
| emptyBtn | 显示清空按钮 | Boolean | true/false | true |
| emptyText | 清空按钮文本 | String | - | '清空' |
| tabs | 多分组转标签 | Boolean | true/false | false |
| detail | 详情模式 | Boolean | true/false | false |
| readonly | 全局只读 | Boolean | true/false | false |
| disabled | 全局禁用 | Boolean | true/false | false |
| 名称 | 说明 | 回调参数 |
|---|---|---|
| submit | 生成json回调 | 当前配置的json |
| 名称 | 说明 | 参数 | 返回 |
|---|---|---|---|
| getData | 获取当前编辑器的JSON | type: 'string'/'json' | Promise |
| 名称 | 说明 |
|---|---|
| toolbar | 顶部工具栏右侧插槽 |
| toolbar-left | 顶部工具栏左侧插槽 |
import AvueUeditor from 'avue-plugin-ueditor'
Vue.use(AvueUeditor)
$ yarn lib
$ yarn build
FAQs
`npm run lib 或者 yarn lib`
The npm package dq-form-design-for-division receives a total of 1 weekly downloads. As such, dq-form-design-for-division popularity was classified as not popular.
We found that dq-form-design-for-division demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.