1.0.6 • Published 9 months ago

nin_vue3_login v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

Installing

$ npm install nin_vue3_login

Example

Usage in vue3.0:

<template>
  <el-button @click="loginVisible = true">login</el-button>
  <Login @close="getClose" :visible="loginVisible" :isClearForm="true" @submit="getSubmit"></Login>
</template>

<script setup lang="ts">
import { ref } from "vue";
import {Login} from "nin_vue3_login";

const loginVisible = ref(false);
const getClose = () => {
  loginVisible.value = false;
}
const getSubmit = (value) => {
  //todo
  console.log(value);
}
</script>

<style scoped>
</style>

Options

PropertyDescriptiontypedefault
isClearForm切换tabs,是否清除表单内容Booleanfalse
elDialogWidth弹框宽度String460px
firstLable第一个lable文字String学生登录
secondLable第二个lable文字String教师登录
hiddenFirstLable隐藏第一个Booleanfalse
hiddenSecondLable隐藏第二个Booleanfalse

Update

此版本主要更新:

v1.0.2 解决关闭弹窗报computed value is readonly警告问题;

v1.0.3 解决el-dialog自定义custom-class过时的问题;

v1.0.4 新增隐藏tab功能:hiddenFirstLable(隐藏第一个),hiddenSecondLable(隐藏第二个);

v1.0.5 无更新

1.0.6

9 months ago

1.0.5

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago