From 0df94050b5079d8a91172b0cbf472400a9750f7d Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期三, 10 一月 2024 10:34:01 +0800
Subject: [PATCH] 更改列名
---
Source/UBCS-WEB/src/views/integration/integrationTransfer.vue | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/Source/UBCS-WEB/src/views/integration/integrationTransfer.vue b/Source/UBCS-WEB/src/views/integration/integrationTransfer.vue
index 7793e02..25df711 100644
--- a/Source/UBCS-WEB/src/views/integration/integrationTransfer.vue
+++ b/Source/UBCS-WEB/src/views/integration/integrationTransfer.vue
@@ -78,12 +78,6 @@
dialogVisible(n) {
this.$emit('update:visible', n)
},
- data(n) {
- console.log('n', n)
- },
- newdata(n) {
- console.log('newdata', n)
- }
},
computed: {
newdata() {
@@ -92,7 +86,7 @@
let name = this.props.label;
let key = this.props.key;
- if (this.data) {
+ if (Array.isArray(this.data)) {
let data = this.data.map(item => {
let objitem = {disabled: false, ...item};
if (this.disabledData.length !== 0) {
@@ -110,7 +104,8 @@
renPing: renPing,
[name]: item[this.props.label],
[key]: item[this.props.key],
- disabled: item.disabled
+ disabled: item.disabled,
+ id:item.id
};
return obj;
});
--
Gitblit v1.9.3