Fix retrieve tasks (#109)
Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
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>
|
||||
Reference in new issue
Block a user