|
@@ -1223,7 +1223,11 @@ export default {
|
|
|
if (this.curQue.img_list && this.curQue.img_list.length > 0) {
|
|
|
contentWidth = 780 - this.curQue.img_size;
|
|
|
}
|
|
|
- if (itemLeg == 1) {
|
|
|
+ if (
|
|
|
+ itemLeg == 1 &&
|
|
|
+ this.curQue.img_list &&
|
|
|
+ this.curQue.img_list.length === 0
|
|
|
+ ) {
|
|
|
this.itemsWidth = 780;
|
|
|
} else {
|
|
|
this.itemsWidth = Math.floor(contentWidth / itemLeg) - 16;
|