eslint
This commit is contained in:
@@ -95,6 +95,7 @@ export default {
|
||||
},
|
||||
},
|
||||
onLoad(o) {
|
||||
console.log(this.user)
|
||||
this.moduleId = o.moduleId
|
||||
this.listName = o.listName
|
||||
|
||||
@@ -125,12 +126,12 @@ export default {
|
||||
if (res?.data) {
|
||||
res.data.records.forEach((e) => {
|
||||
// e.avatar = e.createUserName?.substring(0, 2) || '游客'
|
||||
if(e.createUserName) {
|
||||
e.avatar = e.createUserName.substring(e.createUserName.length, e.createUserName.length - 2)
|
||||
}else {
|
||||
e.avatar = '游客'
|
||||
if (e.createUserName) {
|
||||
e.avatar = e.createUserName.substring(e.createUserName.length, e.createUserName.length - 2)
|
||||
} else {
|
||||
e.avatar = '游客'
|
||||
}
|
||||
|
||||
|
||||
if (e.images) {
|
||||
e.images = JSON.parse(e.images)
|
||||
}
|
||||
@@ -220,11 +221,11 @@ export default {
|
||||
background: #f2f2f2;
|
||||
|
||||
::v-deep .AiCard {
|
||||
border-radius: 0!important;
|
||||
border-radius: 0 !important;
|
||||
box-shadow: none;
|
||||
|
||||
.start {
|
||||
border-radius: 0!important;
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user