mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:12:51 +00:00
refactor: update avatar dialog submission logic to remove hardcoded icon path
This commit is contained in:
parent
3f60135144
commit
fe008e055f
|
|
@ -101,7 +101,7 @@ const onChange = (file: any) => {
|
|||
|
||||
function submit() {
|
||||
if (radioType.value === 'default') {
|
||||
emit('refresh', '/${window.MaxKB.prefix}/favicon.ico')
|
||||
emit('refresh', '')
|
||||
dialogVisible.value = false
|
||||
} else if (radioType.value === 'custom' && iconFile.value) {
|
||||
const fd = new FormData()
|
||||
|
|
|
|||
Loading…
Reference in New Issue