✨(component): update
This commit is contained in:
parent
bfdf86010e
commit
687afdf166
@ -11,7 +11,15 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import "./index.less";
|
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 {
|
export interface LayAiffxProps {
|
||||||
offset?: number;
|
offset?: number;
|
||||||
target?: HTMLElement;
|
target?: HTMLElement;
|
||||||
|
@ -544,7 +544,7 @@ const handleFocusout = () => {
|
|||||||
const handleContextHide = () => {
|
const handleContextHide = () => {
|
||||||
hide();
|
hide();
|
||||||
dropdownCtx?.hide();
|
dropdownCtx?.hide();
|
||||||
}
|
};
|
||||||
|
|
||||||
const addChildRef = (ref: any) => {
|
const addChildRef = (ref: any) => {
|
||||||
childrenRefs.add(ref);
|
childrenRefs.add(ref);
|
||||||
|
@ -4,15 +4,15 @@
|
|||||||
<br>
|
<br>
|
||||||
<p>
|
<p>
|
||||||
<a href="http://layui-vue.pearadmin.com" style="margin-left:30px;">
|
<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>
|
</a>
|
||||||
<span style="font-size:32px;color:#e2e2e2;margin:30px;">+</span>
|
<span style="font-size:32px;color:#e2e2e2;margin:30px;">+</span>
|
||||||
<a href="http://layui-vue.pearadmin.com">
|
<a href="http://layui-vue.pearadmin.com" style="display:inline-block;">
|
||||||
<img src="https://qn.antdv.com/vue.png" alt="layui" width="105" style="border-radius:4px;">
|
<img src="https://qn.antdv.com/vue.png" alt="layui" width="100" style="border-radius:4px;">
|
||||||
</a>
|
</a>
|
||||||
<span style="font-size:32px;color:#e2e2e2;margin:30px;">=</span>
|
<span style="font-size:32px;color:#e2e2e2;margin:30px;">=</span>
|
||||||
<a href="http://layui-vue.pearadmin.com">
|
<a href="http://layui-vue.pearadmin.com" style="display:inline-block;">
|
||||||
<img src="../../../assets/logo.jpg" alt="layui" width="105" style="border-radius:4px;">
|
<img src="../../../assets/logo.jpg" alt="layui" width="100" style="border-radius:4px;">
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<br>
|
<br>
|
||||||
@ -51,7 +51,7 @@ createApp(App).use(Layui).mount('#app')
|
|||||||
npm install -D unplugin-vue-components unplugin-auto-import
|
npm install -D unplugin-vue-components unplugin-auto-import
|
||||||
```
|
```
|
||||||
|
|
||||||
::: describe 然后修改你的 vite.config.js 或 vue.config.js 的配置。
|
::: describe 然后修改 vite.config.js 或 vue.config.js 的配置。
|
||||||
:::
|
:::
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
@ -120,7 +120,9 @@
|
|||||||
<lay-color-picker
|
<lay-color-picker
|
||||||
v-model="appStore.themeVariable['--global-neutral-color-8']"
|
v-model="appStore.themeVariable['--global-neutral-color-8']"
|
||||||
></lay-color-picker>
|
></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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</lay-dropdown>
|
</lay-dropdown>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user