
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
sun-form-design
Advanced tools
sun-form-design是一款专为为前后端开发的低代码开发组件,可以集成到您的vue2项目中。特点描述:
由于sun-form-design使用了element-ui和vxe-table因此相关依赖需要先下载
npm i element-ui
npm i xe-utils vxe-table@legacy
npm install sun-form-design@latest
main.js中代码如下:
import Vue from 'vue'
import App from './App.vue'
import sunForm from "sun-form-design";
import "sun-form-design/dist/sunForm.css"
Vue.use(sunForm);
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'
import XEUtils from "xe-utils";
Vue.prototype.$utils = XEUtils;
Vue.use(VXETable)
new Vue({
render: h => h(App)
}).$mount('#app')
共暴露出了三个组件
- sunDesigner :表单设计器。
- sunForm :表单解析器。
![]()
- sunManage :表单管理器。
<sun-designer :headers="{token:'xxx'}"></sun-designer> <sun-form :headers="{token:'xxx'}"></sun-form> <sun-manage :apiSet="apiSet"></sun-manage>apiset配置代码
{ baseUrl:'/jcbg', headers: { "token":`xxx`, }, configDataKey: "configContent", configNameKey: "remark", configCodeKey: "code", configIdKey: "id", apiSetList: { method: "post", apiurl: "/webPage/listWebPageConfig", params: [], contentType: "JSON", dataFormat: "", baseInfo: { rows: "datas", count: "total", page: "pageindex", limit: "pagesize", pageDefault: "20" } }, apiSetCreate: { method: "post", apiurl: "/webPage/addWebPageConfig", params: [], contentType: "JSON", dataFormat: "" }, apiSetUpdate: { method: "post", apiurl: "/webPage/editWebPageConfig", params: [], contentType: "JSON", dataFormat: "" }, apiSetDelete: { method: "post", apiurl: "/webPage/deleteWebPageConfig", params: [], contentType: "JSON", dataFormat: "" }, apiSetDetail: { method: "post", apiurl: "/webPage/getWebPageConfig", params: [], contentType: "JSON", dataFormat: "" } }
- 增加常用模板开发
- 表单表格根据接口Schema自动生成排版,减少配置人员工作
- 新增更多UI类组件,让页面更美观如:统计组件,步骤条组件,流程组件等
- 性能优化
- 具体使用文档以及二次开发文档
开源代码随后会放地址,如有定制化需求或者学习交流或者功能建议可联系qq:1297425135 或者微信:lllIIIllllIIIlllIII
FAQs
sun-form-design
The npm package sun-form-design receives a total of 5 weekly downloads. As such, sun-form-design popularity was classified as not popular.
We found that sun-form-design 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.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.