更新crud示例

Former-commit-id: 4849a14d39aa89ab2406fad32b57e031ecfb6b0e [formerly 4849a14d39aa89ab2406fad32b57e031ecfb6b0e [formerly 4849a14d39aa89ab2406fad32b57e031ecfb6b0e [formerly 4849a14d39aa89ab2406fad32b57e031ecfb6b0e [formerly 1229cc473b492b8394ccecaa6ad2bce54c40ceb3 [formerly 916a5ece58ad7eaf0c1e456ef5593814464aced8]]]]]
Former-commit-id: 5e2e3473a39bc56dbe26a557b78975a15b9500b9
Former-commit-id: 1da2817f03441bddb14c2a827c27825539928a22
Former-commit-id: 408fb7e8e2c29c7e33980c9077b3326589794a66 [formerly a97ca0cb0b69329caa7173ce5de4936e188779f7]
Former-commit-id: 93467d4989c2a3f97e7ccca13de3629a9017be83
Former-commit-id: 0ce8aa97358308b5badf39032a4fe9149239e4d6
Former-commit-id: 8c2b58a9e041c8fef33f0a8057e7de38be5ed5ab
Former-commit-id: 3b5b1ae8a48df6ea0c353e70d5da37c8d9711951
Former-commit-id: 71d69138805d3295c2c16612f8320ff2fc9cdc8e
This commit is contained in:
孙昊翔
2018-11-26 13:41:31 +08:00
parent b0240d36a6
commit aa8cb84dd5
2 changed files with 6 additions and 0 deletions

View File

@@ -23,6 +23,9 @@ export default {
return this.value ? 'success' : 'danger'
},
text () {
if (this.scope.$index === 1) {
return this.myProps
}
return this.value ? '是' : '否'
}
},

View File

@@ -27,6 +27,9 @@ export default {
return this.value ? 'success' : 'danger'
},
text () {
if (this.scope.$index === 1) {
return this.myProps
}
return this.value ? '是' : '否'
}
},