Shannon_mu 3 年之前
父节点
当前提交
92e3c32481
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      accessControlSystem/src/views/accessControlCard/popups/continuedMake.vue

+ 1 - 1
accessControlSystem/src/views/accessControlCard/popups/continuedMake.vue

@@ -118,7 +118,7 @@ export default {
                     this.$http
                         .post(
                             `${this.params.row.cardType == 2 ? '/card/issue/manage' : '/card/issue/resident'}`,
-                            this.params.row.cardType == 2 ? { expire_date: installData.expirationTime, depId: res } : ids()
+                            this.params.row.cardType == 2 ? [{ expire_date: installData.expirationTime, depId: res }] : ids()
                         )
                         .then(({ data, status, msg }) => {
                             if (status == 0) {