
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.
基于canvas的常用Vue组件库
# install dependencies
yarn add san-ui
# serve with hot reload at localhost:8080
npm run dev// "registry": "http://118.31.173.195:4873"
全局引用
import SanUi form 'san-ui'
Vue.use(SanUi)
按需引用
import { esignDisablePrompt } form '@esign/disable-prompt'
Vue.component(esignDisablePrompt.name,esignDisablePrompt)
:::tip esignDisablePrompt 为组件名称,具体名称可以从下方组件列表寻找 :::
适用pc端 向组件传入一个请求方法 后续逻辑在组件中处理 Http为工程封装的请求对象 请求参数 processId 为当前流程id
<esign-disable-prompt
:init="init"
:afterClose="init"
:vipLevel="vipLevel"
:configOptions="configOptions"
/>
<script>
export default {
data() {
return {
vipLevel:1,//会员等级 目前有1/2/3/4/5
configOptions:{//弹框文本显示 下方为默认值 需要改变哪个值 就传哪个键值对
dialogTitle:'检测到被加入黑名单的参与方',//弹框标题
dialogDes:'参与方已被加入黑名单,不允许与其签署合同,如有疑问可联系您的管理员',//弹框描述
initiator:'发起人',//下方列表键名
participant:'参与人',
cc:'抄送人',
confirmBtnText:'我知道了la',//确认按钮
}
};
},
methods: {
init(){
return Http({
url: '',
method: 'GET',
body: {processId:''},
})
}
}
};
</script>
| 参数 | 说明 | 类型 | 是否必传 | 可选值 | 默认值 |
|---|---|---|---|---|---|
| init | 请求函数 | Function | 是 | - | - |
| afterClose | 弹框关闭的回调 | Function | 否 | - | - |
| vipLevel | 会员版本等级 | Number | 是 | - | - |
| configOptions | 弹框文本配置项 | Object | 否 | - | - |
:::tip
:::
For detailed explanation on how things work, consult the docs for vue-loader.
FAQs
san-ui des
We found that san-ui 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.