From d759f9d63f892179b59b238af6823e1f2ba2072b Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 06 七月 2023 10:35:12 +0800
Subject: [PATCH] 整合代码
---
Source/UBCS-WEB/src/components/Tree/attrCrud.vue | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Source/UBCS-WEB/src/components/Tree/attrCrud.vue b/Source/UBCS-WEB/src/components/Tree/attrCrud.vue
index 68d16f7..257dd8b 100644
--- a/Source/UBCS-WEB/src/components/Tree/attrCrud.vue
+++ b/Source/UBCS-WEB/src/components/Tree/attrCrud.vue
@@ -267,10 +267,10 @@
<el-option label="鐢ㄦ埛鐢佃瘽" value="3"></el-option>
</el-select>
<el-switch
- v-if="item.edit === 'switch'" v-model="row[item.sortableprop]" active-value="true"
+ v-if="item.edit === 'switch'" v-model="row[item.prop]" active-value="true"
inactive-value="false">
</el-switch>
- <span v-else>{{ row[item.prop] }}</span>
+ <span v-else >{{ row[item.prop] }}</span>
</template>
</el-table-column>
<el-table-column
@@ -1453,6 +1453,7 @@
},
saveRows() {
this.editingRows = null;
+ console.log('1321')
},
// 鏋氫妇娉ㄥ叆娣诲姞涓�琛岀┖鏁版嵁
addRow() {
--
Gitblit v1.9.3