瀏覽代碼

improve: 图片移动判断

From-wh 2 年之前
父節點
當前提交
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);