This commit is contained in:
cast1e
2024-10-16 12:39:30 +08:00
parent 97fb9014f3
commit 5a48735f36
10 changed files with 127 additions and 23 deletions
+4 -4
View File
@@ -67,7 +67,7 @@ const props = defineProps({
})
const store = useStore();
const visible = defineModel<boolean>();
const emit = defineEmits(["submit"]);
defineEmits(["submit"]);
const visible_ = ref(false);
const cell = ref<Cell>({
img: "",
@@ -107,9 +107,9 @@ function open(conFig: Cell) {
}
function apply() {
store.commit("apply_wallpaper",{
url:`/video/?url=${cell.value.path}\\res\\${cell.value.config.info.entry_point}&mute=${cell.value.config.option.mute}`,
title:"wallitor_video_playback"
store.commit("apply_wallpaper", {
url: `/video/?url=${cell.value.path}\\res\\${cell.value.config.info.entry_point}&mute=${cell.value.config.option.mute}`,
title: "wallitor_video_playback"
})
appWindow.minimize();
}