This commit is contained in:
2025-09-25 17:00:55 +08:00
parent 8a08b3fee7
commit 3dc40a4f53

View File

@ -158,7 +158,13 @@
</span>
</template>
</el-dialog>
<input ref="fileInput" type="file" hidden @change="handleFileChange" accept=".jpg,.jpeg,.png" />
<input
ref="fileInput"
type="file"
hidden
@change="handleFileChange"
accept=".jpg,.jpeg,.png,.gif"
/>
</div>
</template>
@ -450,7 +456,7 @@ const allowDrag = (draggingNode: Node) => {
//拖拽结束
//---------------------查看缩略图--------------------
var showImageRow:any = null
var showImageRow: any = null
const showImage = (row: any) => {
showImageRow = row
eventBus.emit('imagePopDialog', row)
@ -563,7 +569,7 @@ const handleMenuCommand = (command: string) => {
}
}
var clickTreeNode:any = null
var clickTreeNode: any = null
const handleTypeClick = (row: any) => {
getModelListByType(row.id)
currentTypeId.value = row.$treeNodeId
@ -615,7 +621,7 @@ const handleRenameType = (row: TypeNode) => {
dialogVisible.value = true
}
var clickPhotoRow:any = null
var clickPhotoRow: any = null
const editPhotoName = (row) => {
dialogTitle.value = '图标重命名'
modelType.value = row.iconName
@ -759,8 +765,8 @@ const handleDelete = (row: any) => {
.catch(() => {})
}
//立体图标、普通图标
let threePhoto:any = []
let ordinaryPhoto:any = []
let threePhoto: any = []
let ordinaryPhoto: any = []
const setPhotoList = () => {
$sendElectronChanel('requireGEMarkerName', {