
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
ac-printing-button
Advanced tools
基于营销云,提供的按钮组打印组件。
$ ynpm install ac-printing-button --save
引入
import AcButton from 'ac-printing-button';
样式
import 'ac-printing-button/dist/index.css';
| 参数 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| containerId | 挂在容器的Id | string | - |
| setupDownloadUrl | 下载程序的url地址 | string | https://cdn.yonyoucloud.com/iprint/setup.exe?download |
| btns | 按钮数组 | array | 见 btns api |
| printCheckedUrl | 协议url地址 | string | yonyou://iprint |
| layoutType | 选中布局方式 (button、menu) | string | button |
| label | 如果是layoutType是 menus,可以设置按钮文字 | string | button |
| 参数 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| label | 按钮显示文字 | string | default |
| url | 跳转url | string | - |
| urlParameter | 跳转url的上的参数 | obj | - |
| type | 是否是下载组件 | string | '' 空为跳转按钮、'dowloand' 为下载按钮 |
| icon | menu中是否要带图标 | string | - |
$ npm install -g bee-tools
$ git clone https://github.com/tinper-bee/ac-printing-button
$ cd ac-printing-button
$ npm install
$ npm run dev
FAQs
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.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.