Files
SoonWorker/src/renderer/components/files/fileEmpty.vue
T
2025-12-28 12:44:40 +08:00

28 lines
533 B
Vue

<template>
<div :style="'background-image:url(' + bgi + ');background-repeat: no-repeat;background-position: 50% 50%;'"
class="empty"></div>
</template>
<script>
export default {
name: "fileEmpty",
data() {
return {
fileList: [],
};
},
methods: {},
computed: {
bgi() {
return this.$t("work.dropBg");
},
},
};
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="less" scoped>
.empty {
flex: 1;
width: 100%;
}
</style>