修改
This commit is contained in:
parent
5bce1c6023
commit
f8fd927351
@ -743,6 +743,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
//删除海报图片列表
|
//删除海报图片列表
|
||||||
delPictureUrl(item) {
|
delPictureUrl(item) {
|
||||||
|
console.log(item);
|
||||||
if (item.idd && !item.id) {
|
if (item.idd && !item.id) {
|
||||||
if (this.form.posterPictureUrlLists.length == 1) {
|
if (this.form.posterPictureUrlLists.length == 1) {
|
||||||
this.$message.error("最后一条不可删除");
|
this.$message.error("最后一条不可删除");
|
||||||
@ -767,7 +768,11 @@ export default {
|
|||||||
jumpType: "",
|
jumpType: "",
|
||||||
idd: this.idd,
|
idd: this.idd,
|
||||||
};
|
};
|
||||||
this.form.posterPictureUrlLists.push(obj);
|
if (this.form.posterPictureUrlLists.length >= 5) {
|
||||||
|
this.$message.error("最多新增5条");
|
||||||
|
} else {
|
||||||
|
this.form.posterPictureUrlLists.push(obj);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//打开遮罩层
|
//打开遮罩层
|
||||||
clicknurseItemshow() {
|
clicknurseItemshow() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user