修改
This commit is contained in:
@ -158,7 +158,13 @@
|
|||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-dialog>
|
</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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -450,7 +456,7 @@ const allowDrag = (draggingNode: Node) => {
|
|||||||
//拖拽结束
|
//拖拽结束
|
||||||
|
|
||||||
//---------------------查看缩略图--------------------
|
//---------------------查看缩略图--------------------
|
||||||
var showImageRow:any = null
|
var showImageRow: any = null
|
||||||
const showImage = (row: any) => {
|
const showImage = (row: any) => {
|
||||||
showImageRow = row
|
showImageRow = row
|
||||||
eventBus.emit('imagePopDialog', 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) => {
|
const handleTypeClick = (row: any) => {
|
||||||
getModelListByType(row.id)
|
getModelListByType(row.id)
|
||||||
currentTypeId.value = row.$treeNodeId
|
currentTypeId.value = row.$treeNodeId
|
||||||
@ -615,7 +621,7 @@ const handleRenameType = (row: TypeNode) => {
|
|||||||
dialogVisible.value = true
|
dialogVisible.value = true
|
||||||
}
|
}
|
||||||
|
|
||||||
var clickPhotoRow:any = null
|
var clickPhotoRow: any = null
|
||||||
const editPhotoName = (row) => {
|
const editPhotoName = (row) => {
|
||||||
dialogTitle.value = '图标重命名'
|
dialogTitle.value = '图标重命名'
|
||||||
modelType.value = row.iconName
|
modelType.value = row.iconName
|
||||||
@ -759,8 +765,8 @@ const handleDelete = (row: any) => {
|
|||||||
.catch(() => {})
|
.catch(() => {})
|
||||||
}
|
}
|
||||||
//立体图标、普通图标
|
//立体图标、普通图标
|
||||||
let threePhoto:any = []
|
let threePhoto: any = []
|
||||||
let ordinaryPhoto:any = []
|
let ordinaryPhoto: any = []
|
||||||
|
|
||||||
const setPhotoList = () => {
|
const setPhotoList = () => {
|
||||||
$sendElectronChanel('requireGEMarkerName', {
|
$sendElectronChanel('requireGEMarkerName', {
|
||||||
|
|||||||
Reference in New Issue
Block a user