This commit is contained in:
曹辉 2023-02-16 11:11:24 +08:00
parent 5bce1c6023
commit f8fd927351

View File

@ -743,6 +743,7 @@ export default {
methods: {
//
delPictureUrl(item) {
console.log(item);
if (item.idd && !item.id) {
if (this.form.posterPictureUrlLists.length == 1) {
this.$message.error("最后一条不可删除");
@ -767,7 +768,11 @@ export default {
jumpType: "",
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() {