Fix unused variable (#225)
Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
1 parent
393e61f04d
commit
dd19262a73
36 files changed
+41
-73
No files matched your search
@@ -63,11 +63,11 @@ export default defineComponent({
|
||||
get() {
|
||||
return this.$store.state.pika?.config?.image_url;
|
||||
},
|
||||
set(val: string) {
|
||||
set() {
|
||||
const url = this.urls?.[0];
|
||||
this.$store.commit('pika/setConfig', {
|
||||
...this.$store.state.pika?.config,
|
||||
image_url: this.urls
|
||||
image_url: url
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElImage, ElAlert, ElButton, ElTooltip } from 'element-plus';
|
||||
import { IPikaTask, IPikaGenerateResponse, IPikaVideo } from '@/models';
|
||||
import { IPikaTask, IPikaVideo } from '@/models';
|
||||
import CopyToClipboard from '@/components/common/CopyToClipboard.vue';
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
||||
import VideoPlayer from '../VideoPlayer.vue';
|
||||
|
||||
Reference in new issue
Block a user