Explorar el Código

improve: 图片移动判断

From-wh hace 2 años
padre
commit
3bee77da19
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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);