0.1.3 • Published 3 years ago

esign-disable-prompt v0.1.3

Weekly downloads
348
License
MIT
Repository
-
Last release
3 years ago

esign-disable-prompt

基于Vue黑名单禁用时的弹框组件

Build Setup

# install dependencies
npm install esign-disable-prompt

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

使用方法

全局引用

import esignDisablePrompt form esign-disable-prompt

Vue.use(esignDisablePrompt)

按需引用

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"
    />

<script>
  export default {
    data() {
      return {

      };
    },
    methods: {
        init(){
            return Http({
                    url: '',
                    method: 'GET',
                    body: {processId:''},
                })
            }
    }
  };
</script>

Attributes

参数说明类型是否必传可选值默认值
init请求函数Function--
afterClose弹框关闭的回调Function--

:::tip

:::

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

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago