refactor: show dialog Repeat name
This commit is contained in:
parent
038e6c0b97
commit
e40b80c48e
1 changed files with 4 additions and 0 deletions
|
|
@ -214,6 +214,10 @@ const useStorage = defineStore('storageStore', () => {
|
|||
createdAt: data.createdAt,
|
||||
createdBy: data.createdBy,
|
||||
})
|
||||
} else {
|
||||
error.title = 'ตั้งชื่อ Folder ซ้ำ'
|
||||
error.msg = ''
|
||||
error.show()
|
||||
}
|
||||
|
||||
folder.value[path].sort((a, b) => a.pathname.localeCompare(b.pathname))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue