feat(short-drama-agent-front): 完善镜头定位与项目配置
This commit is contained in:
1 parent
470b52e26d
commit
5b134207b8
66 files changed
+2042
-984
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { computed, reactive, ref } from 'vue'
|
||||
import { NAlert, NButton, NFormItem, NInput, NPopconfirm, NSelect, NTag, NTooltip } from 'naive-ui'
|
||||
import { RefreshCw, Search, Trash2, Upload } from '@lucide/vue'
|
||||
import { Search, Trash2, Upload } from '@lucide/vue'
|
||||
import { AppDialog, AssetImage, EmptyState } from '../../components/ui'
|
||||
import AppForm from '../../components/ui/AppForm.vue'
|
||||
import WorkspacePage from '../../components/ui/WorkspacePage.vue'
|
||||
@@ -111,11 +111,6 @@ function clearFilters() {
|
||||
category.value = null
|
||||
}
|
||||
|
||||
/** 同时刷新图片与上传所需的剧本选项。 */
|
||||
async function refreshAll() {
|
||||
await Promise.all([query.refresh(), projectsQuery.refresh()])
|
||||
}
|
||||
|
||||
/** 先校验本地文件,再在当前页选择剧本并确认资料。 */
|
||||
function selectFile(event: Event) {
|
||||
const input = event.target as HTMLInputElement
|
||||
@@ -237,16 +232,6 @@ async function removeAsset() {
|
||||
>
|
||||
<template #icon><Upload :size="16" /></template>上传图片
|
||||
</NButton>
|
||||
<NButton
|
||||
quaternary
|
||||
class="icon-button"
|
||||
:loading="query.loading.value || projectsQuery.loading.value"
|
||||
aria-label="刷新资产库"
|
||||
title="刷新资产库"
|
||||
@click="refreshAll"
|
||||
>
|
||||
<template #icon><RefreshCw :size="16" /></template>
|
||||
</NButton>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in new issue
Block a user