
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
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 30 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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.