Compare commits
No commits in common. "41e72c9a18a47b3bb7218ae9387f9e00bda7ac67" and "943742204ba50693329e502f5aa33afbc88d72b7" have entirely different histories.
41e72c9a18
...
943742204b
@ -184,7 +184,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//获取设备
|
//获取设备
|
||||||
getEqbyid() {
|
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) => {
|
this.api.getEqbyid(userInfo.userid).then((res) => {
|
||||||
if (res.data.code == 200) {
|
if (res.data.code == 200) {
|
||||||
this.$store.state.equipmentList = res.data.data.map((item, index) => {
|
this.$store.state.equipmentList = res.data.data.map((item, index) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user