small adjustments

This commit is contained in:
Alireza Ahmadi
2024-05-09 23:27:37 +02:00
parent 43d1aecec7
commit bf7b42ec20
4 changed files with 5 additions and 5 deletions
-1
View File
@@ -31,6 +31,5 @@ const isMobile = computed( ():boolean =>{
text-align: center; text-align: center;
border-bottom: 1px solid gray; border-bottom: 1px solid gray;
min-height: 20px; min-height: 20px;
margin-top: -20px;
} }
</style> </style>
+2 -1
View File
@@ -87,7 +87,8 @@ export default {
}, },
}, },
watch: { watch: {
visible(newValue) { if (newValue) { visible(newValue) {
if (newValue) {
this.resetData() this.resetData()
} }
}, },
+3 -2
View File
@@ -226,8 +226,9 @@ export default {
} }
}, },
watch: { watch: {
visible(newValue) { if (newValue) { visible(newValue) {
this.updateData() if (newValue) {
this.updateData()
} }
}, },
}, },
-1
View File
@@ -43,7 +43,6 @@ export default {
}, },
methods: { methods: {
copyToClipboard(txt:string) { copyToClipboard(txt:string) {
const clipboard = new Clipboard('.clipboard-btn', { const clipboard = new Clipboard('.clipboard-btn', {
text: () => txt text: () => txt
}); });