fix: wording
This commit is contained in:
parent
753b3a2ea9
commit
708e5812ce
1 changed files with 7 additions and 3 deletions
|
|
@ -280,9 +280,13 @@ const useStorage = defineStore('storageStore', () => {
|
|||
)
|
||||
}
|
||||
|
||||
if (currentInfo.path !== path && currentInfo.path.startsWith(path)) {
|
||||
error.title = 'ตำเเหน่งที่คุณอยู่ถูกลบ'
|
||||
error.msg = ''
|
||||
if (
|
||||
currentInfo.path !== path &&
|
||||
currentInfo.path.length > path.length &&
|
||||
currentInfo.path.startsWith(path)
|
||||
) {
|
||||
error.title = 'แจ้งเตือน'
|
||||
error.msg = 'ข้อมูลที่คุณกำลังเข้าถึงอยู่ถูกลบ'
|
||||
error.show()
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue