Fix retrieve tasks (#109)

Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
GermeyandAceDataCloud authored and GitHub committed 2024-08-16 15:41:24 +08:00
1 parent 0831e3e181
commit acc99514ca
12 files changed
+45 -15

No files matched your search

@@ -1,46 +0,0 @@
<template>
<el-tooltip effect="dark" :content="$t('common.button.restart')" placement="top-start">
<font-awesome-icon icon="fa-solid fa-sync" class="icon-sync" @click="onRestart" />
</el-tooltip>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
import { ElTooltip } from 'element-plus';
export default defineComponent({
name: 'CopyToClipboard',
components: {
FontAwesomeIcon,
ElTooltip
},
props: {
messages: {
type: Array,
required: false,
default: () => []
}
},
emits: ['restart'],
data() {
return {
copied: false
};
},
methods: {
onRestart() {
this.$emit('restart');
}
}
});
</script>
<style lang="scss" scoped>
.icon-check,
.icon-copy {
margin-left: 5px;
cursor: pointer;
color: inherit;
}
</style>