(component): release 1.4.14

This commit is contained in:
就眠儀式
2022-09-17 01:21:25 +08:00
parent 88c11dc2bc
commit db7e233a2a
5 changed files with 59 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@layui/layui-vue",
"version": "1.4.13",
"version": "1.4.14",
"author": "就眠儀式",
"license": "MIT",
"description": "a component library for Vue 3 base on layui-vue",
@@ -26,16 +26,16 @@
"./es/": "./es/"
},
"scripts": {
"build": "npm run build:all && npm run build:es && npm run build:umd",
"build": "npm run build:all && npm run build:es && npm run build:umd && npm run build:types",
"build:es": "vite build --emptyOutDir --config ./script/build.es.ts",
"build:all": "rimraf types && vite build --emptyOutDir --config ./script/build.all.ts",
"build:all": "vite build --emptyOutDir --config ./script/build.all.ts",
"build:umd": "vite build --emptyOutDir --config ./script/build.umd.ts",
"build:types": "rimraf types && tsc -d"
},
"dependencies": {
"@layui/icons-vue": "^1.0.9",
"@layui/layer-vue": "^1.4.2",
"@vueuse/core": "^8.7.3",
"@vueuse/core": "^9.2.0",
"async-validator": "^4.1.1",
"cropperjs": "^1.5.12",
"@umijs/ssr-darkreader": "^4.9.45",

View File

@@ -18,13 +18,14 @@ import {
import type { ComputedRef } from "vue";
interface LayStepItemProps {
export interface LayStepItemProps {
space?: number;
}
const props = withDefaults(defineProps<LayStepItemProps>(), {
space: 0,
});
const index = ref(-1);
const parents: any = inject("laySplitPanel");
const currentInstance: any = getCurrentInstance();