Explorar o código

improve: 图片移动判断

From-wh %!s(int64=2) %!d(string=hai) anos
pai
achega
3bee77da19
Modificáronse 1 ficheiros con 1 adicións e 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);