Browse Source

sonar fixed

devlop
邓雄飞 4 years ago
parent
commit
824b116707
1 changed files with 12 additions and 10 deletions
  1. 22
      components/bussiness-components/packingStationItem.vue

22
components/bussiness-components/packingStationItem.vue

@ -93,14 +93,14 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
// 使hook.jsloginGo2nvuestore == this.$store
const token = this.$store.state.qnToken
if (token) {
go2('client-detail', { id: this.info.enterpriseId }, false)
} else {
this.$store.commit('setNextPage', { name: 'client-detail', data:{ id: this.info.enterpriseId }})
go2('login')
}
// 使hook.jsloginGo2nvuestore == this.$store
const token = this.$store.state.qnToken
if (token) {
go2('client-detail', { id: this.info.enterpriseId }, false)
} else {
this.$store.commit('setNextPage', { name: 'client-detail', data: { id: this.info.enterpriseId } })
go2('login')
}
}, },
transformBusiness(business) { transformBusiness(business) {
let text = business?.trim() || '未知' let text = business?.trim() || '未知'
@ -237,8 +237,10 @@ export default {
.text { .text {
font-size: 24rpx; font-size: 24rpx;
color: #555555; color: #555555;
lines: 1;
text-overflow: ellipsis;
// text-overflow: ellipsis;
// word-break: none;
// overflow: hidden;
// white-space: nowrap;
} }
} }
} }

Loading…
Cancel
Save