From-wh 2 лет назад
Родитель
Сommit
3bee77da19
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      template/admin/src/components/uploadPictures/index.vue

+ 1 - 0
template/admin/src/components/uploadPictures/index.vue

@@ -396,6 +396,7 @@ export default {
         pid: this.pids,
         images: this.ids.toString(),
       };
+      if (!data.images) return;
       moveApi(data)
         .then(async (res) => {
           this.$Message.success(res.msg);