ci eslint

This commit is contained in:
就眠儀式
2021-12-25 00:09:30 +08:00
parent 6717dfead2
commit 93507d0165
126 changed files with 1028 additions and 912 deletions

View File

@@ -1,10 +1,9 @@
import type { App } from 'vue'
import Component from './index.vue'
import type { IDefineComponent } from '../type/index'
import type { App } from "vue";
import Component from "./index.vue";
import type { IDefineComponent } from "../type/index";
Component.install = (app: App) => {
app.component(Component.name || 'LayButton', Component)
}
app.component(Component.name || "LayButton", Component);
};
export default Component as IDefineComponent
export default Component as IDefineComponent;

View File

@@ -53,6 +53,6 @@ const classes = computed(() => {
v-if="loading"
class="layui-icon layui-icon-loading-one layui-anim layui-anim-rotate layui-anim-loop"
></i>
<slot v-else />
<slot v-else></slot>
</button>
</template>