(component): update

This commit is contained in:
就眠儀式 2022-09-11 20:35:43 +08:00
parent bfdf86010e
commit 687afdf166
4 changed files with 19 additions and 9 deletions

View File

@ -11,7 +11,15 @@ export default {
</script>
<script setup lang="ts">
import "./index.less";
import { ref, onMounted, onUnmounted, nextTick, computed, reactive, StyleValue } from "vue";
import {
ref,
onMounted,
onUnmounted,
nextTick,
computed,
reactive,
StyleValue,
} from "vue";
export interface LayAiffxProps {
offset?: number;
target?: HTMLElement;

View File

@ -544,7 +544,7 @@ const handleFocusout = () => {
const handleContextHide = () => {
hide();
dropdownCtx?.hide();
}
};
const addChildRef = (ref: any) => {
childrenRefs.add(ref);

View File

@ -4,15 +4,15 @@
<br>
<p>
<a href="http://layui-vue.pearadmin.com" style="margin-left:30px;">
<img src="https://unpkg.com/outeres@0.0.6/img/layui/icon-1.png" alt="layui" width="105" style="border-radius:4px;">
<img src="https://unpkg.com/outeres@0.0.6/img/layui/icon-1.png" alt="layui" width="100" style="border-radius:4px;">
</a>
<span style="font-size:32px;color:#e2e2e2;margin:30px;">+</span>
<a href="http://layui-vue.pearadmin.com">
<img src="https://qn.antdv.com/vue.png" alt="layui" width="105" style="border-radius:4px;">
<a href="http://layui-vue.pearadmin.com" style="display:inline-block;">
<img src="https://qn.antdv.com/vue.png" alt="layui" width="100" style="border-radius:4px;">
</a>
<span style="font-size:32px;color:#e2e2e2;margin:30px;">=</span>
<a href="http://layui-vue.pearadmin.com">
<img src="../../../assets/logo.jpg" alt="layui" width="105" style="border-radius:4px;">
<a href="http://layui-vue.pearadmin.com" style="display:inline-block;">
<img src="../../../assets/logo.jpg" alt="layui" width="100" style="border-radius:4px;">
</a>
</p>
<br>
@ -51,7 +51,7 @@ createApp(App).use(Layui).mount('#app')
npm install -D unplugin-vue-components unplugin-auto-import
```
::: describe 然后修改你的 vite.config.js 或 vue.config.js 的配置。
::: describe 然后修改 vite.config.js 或 vue.config.js 的配置。
:::
```js

View File

@ -120,7 +120,9 @@
<lay-color-picker
v-model="appStore.themeVariable['--global-neutral-color-8']"
></lay-color-picker>
<lay-button :fluid="true" border="green" border-style="dashed">重置配置</lay-button>
<lay-button :fluid="true" border="green" border-style="dashed"
>重置配置</lay-button
>
</div>
</template>
</lay-dropdown>