📝(component): 更新 GetStarted.md 安装说明
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.lay-affix-content{
|
||||
.layui-affix{
|
||||
display: block;
|
||||
z-index: 999;
|
||||
transition: all 0.3s ease-in-out;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="lay-affix-content" :style="getStyle" ref="dom">
|
||||
<div class="layui-affix" :style="getStyle" ref="dom">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
@@ -11,7 +11,7 @@ export default {
|
||||
</script>
|
||||
<script setup lang="ts">
|
||||
import "./index.less";
|
||||
import { ref, onMounted, onUnmounted, nextTick, computed, reactive } from "vue";
|
||||
import { ref, onMounted, onUnmounted, nextTick, computed, reactive, StyleValue } from "vue";
|
||||
export interface LayAiffxProps {
|
||||
offset?: number;
|
||||
target?: HTMLElement;
|
||||
@@ -50,7 +50,7 @@ const getStyle = computed(() => {
|
||||
} else {
|
||||
style.bottom = fixedOffset - marginBottom + "px";
|
||||
}
|
||||
return style;
|
||||
return style as StyleValue;
|
||||
}
|
||||
});
|
||||
//检查是否在窗口内
|
||||
|
||||
@@ -375,12 +375,12 @@ const cutTransaction = () => {};
|
||||
>
|
||||
<input
|
||||
type="file"
|
||||
ref="orgFileInput"
|
||||
class="layui-upload-file"
|
||||
:multiple="multiple"
|
||||
:accept="acceptMime"
|
||||
ref="orgFileInput"
|
||||
:name="field"
|
||||
:field="field"
|
||||
:multiple="multiple"
|
||||
:accept="acceptMime"
|
||||
:disabled="disabled"
|
||||
@click="clickOrgInput"
|
||||
@change="getUploadChange"
|
||||
|
||||
Reference in New Issue
Block a user