demo-adp
v1.1.15
Published
## Project setup ``` yarn install ```
Downloads
4
Readme
adp
Project setup
yarn installCompiles and hot-reloads for development
yarn serveCompiles and minifies for production
yarn buildLints and fixes files
yarn lintCustomize configuration
使用组件
<page-poc
:baseURL="baseURL"
:bomBaseInfoId="bomBaseInfoId"
:token="token"
:rule-content="rule.ruleContent"
@submitRule="submitRule"
></page-poc>
baseURL 必传属性,接口请求前缀
bomBaseInfoId 必传属性,树状模型的id
token 必传属性, 用户的token
rule-content 可选属性, 在编辑情况下传ruleContent, 置入编辑数据
submitRule 事件, 保存规则触发, 回调参数:rootTreeNode(树状结构的json数据), text(处理好转化的纯文本)