New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

san-ui

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

san-ui

san-ui des

latest
npmnpm
Version
0.0.10
Version published
Maintainers
1
Created
Source

san_sub

基于canvas的常用Vue组件库

Build Setup

# 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 为组件名称,具体名称可以从下方组件列表寻找 :::

1、说明

适用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>

Attributes

参数说明类型是否必传可选值默认值
init请求函数Function--
afterClose弹框关闭的回调Function--
vipLevel会员版本等级Number--
configOptions弹框文本配置项Object--

:::tip

:::

For detailed explanation on how things work, consult the docs for vue-loader.

Keywords

vue

FAQs

Package last updated on 05 Jul 2022

Did you know?

Socket

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.

Install

Related posts