update 1400-10-09

This commit is contained in:
sedmedgh
2021-12-30 16:13:42 +03:30
parent e510b6ab98
commit 6b6b9a3652
79 changed files with 3323 additions and 395 deletions
+9 -2
View File
@@ -21,7 +21,7 @@
<script>
import themeConfig from '@/../themeConfig.js'
import jwt from '@/http/requests/auth/jwt/index.js'
import axios from "@/axios"
export default {
data () {
return {
@@ -72,7 +72,14 @@ export default {
},
async created() {
try{
let {data:{permission}} = await axios.get('/permission/user')
await this.$store.dispatch("access/setPermissions", permission)
// console.log("user data",this.$store.state.access.permissions)
}
catch (e) {
console.log("eeeee: ",e)
}
//console.log("this ==> ", this);
const dict = {
attributes: {