Compare commits

..

No commits in common. "41e72c9a18a47b3bb7218ae9387f9e00bda7ac67" and "943742204ba50693329e502f5aa33afbc88d72b7" have entirely different histories.

View File

@ -184,7 +184,7 @@ export default {
},
//
getEqbyid() {
var userInfo =localStorage.getItem('userInfo')? JSON.parse(localStorage.getItem('userInfo')):{userid:-1}
var userInfo = JSON.parse(localStorage.getItem('userInfo'))
this.api.getEqbyid(userInfo.userid).then((res) => {
if (res.data.code == 200) {
this.$store.state.equipmentList = res.data.data.map((item, index) => {