mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 15:51:01 +08:00
Last commit forgot :
This commit is contained in:
parent
bae0d3b8dc
commit
a4a3822a49
@ -24,6 +24,8 @@ const props = defineProps<{
|
|||||||
width?: string;
|
width?: string;
|
||||||
height?: string;
|
height?: string;
|
||||||
black?: boolean | false;
|
black?: boolean | false;
|
||||||
|
windowTranslateState: boolean | false;
|
||||||
|
notLoggedInState: boolean | false;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
const emit = defineEmits(["close", "min", "restore", "translate"]);
|
const emit = defineEmits(["close", "min", "restore", "translate"]);
|
||||||
@ -117,6 +119,7 @@ const stopDrag = () => {
|
|||||||
<button
|
<button
|
||||||
@click="emit('translate')"
|
@click="emit('translate')"
|
||||||
class="p-1 hover:bg-gray-300 dark:hover:bg-gray-600 rounded transition duration-200"
|
class="p-1 hover:bg-gray-300 dark:hover:bg-gray-600 rounded transition duration-200"
|
||||||
|
v-if="props.windowTranslateState"
|
||||||
>
|
>
|
||||||
<LanguagesIcon />
|
<LanguagesIcon />
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user