|
@@ -220,11 +220,7 @@ export default {
|
|
|
this.opColVisible = (Number(this.dataForm.state) !== 3 && value === this.userId)
|
|
|
},
|
|
|
'dataForm.state' (value) {
|
|
|
- if (this.dataForm.userId) {
|
|
|
- this.opColVisible = (Number(value) !== 3 && this.dataForm.userId === this.userId)
|
|
|
- } else {
|
|
|
- this.opColVisible = (Number(value) !== 3)
|
|
|
- }
|
|
|
+ this.opColVisible = this.dataForm.userId ? (Number(value) !== 3 && this.dataForm.userId === this.userId) : (Number(value) !== 3)
|
|
|
}
|
|
|
},
|
|
|
data () {
|