Commit 3488215e authored by 11277's avatar 11277

Update box.md

parent 559440b7
...@@ -12,6 +12,7 @@ winId | String(必填) | html元素标签的id ...@@ -12,6 +12,7 @@ winId | String(必填) | html元素标签的id
functionCode | String(必填) | 抽屉的唯一标识,用以确定该抽屉的相关信息 functionCode | String(必填) | 抽屉的唯一标识,用以确定该抽屉的相关信息
params | Object | 需传递的参数,将自动拼到url上 params | Object | 需传递的参数,将自动拼到url上
closeFunction | function | 关闭抽屉调用的方法 closeFunction | function | 关闭抽屉调用的方法
width | Number | 自定义宽度
```javascript ```javascript
...@@ -26,7 +27,8 @@ Hel.openBox({ ...@@ -26,7 +27,8 @@ Hel.openBox({
contractId:1327, contractId:1327,
conContractCashflowId:4321 conContractCashflowId:4321
}, },
closeFunction:test closeFunction:test,
width:900
}); });
``` ```
...@@ -34,3 +36,4 @@ Hel.openBox({ ...@@ -34,3 +36,4 @@ Hel.openBox({
> - winId和functionCode必须有字符串类型的值 > - winId和functionCode必须有字符串类型的值
> - params可以没有,表示不拼接条件; > - params可以没有,表示不拼接条件;
> - closeFunction可以没有,表示关闭抽屉不进行操作 > - closeFunction可以没有,表示关闭抽屉不进行操作
> - width可以没有,表示使用配置的宽度
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment