add new endpoint for add user by admin
This commit is contained in:
@@ -42,7 +42,13 @@ export default {
|
||||
title: 'آسان سرویس | مدیریت سایت'
|
||||
}
|
||||
},
|
||||
|
||||
async mounted() {
|
||||
try {
|
||||
await this.$axios.get('/api/admin/permissions')
|
||||
} catch (error) {
|
||||
this.$router.push('/auth/login-register')
|
||||
}
|
||||
/// /////////////////////////////////////////////////// get products list | provinces | cities
|
||||
try {
|
||||
// verity request info
|
||||
@@ -79,6 +85,8 @@ export default {
|
||||
} catch (e) {
|
||||
this.$arpaError()
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user