mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
rename computed disableButtomByUpdate to disableButtonByUpdate
This commit is contained in:
parent
018cfc68b1
commit
fc75d4f370
@ -277,7 +277,7 @@ export default {
|
||||
|
||||
return true
|
||||
},
|
||||
disableButtomByUpdate() {
|
||||
disableButtonByUpdate() {
|
||||
if (!this.update) return true
|
||||
if (
|
||||
this.group.name === this.formData.name &&
|
||||
@ -294,8 +294,8 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
checkFormError(error) {
|
||||
if (!this.update && error && !!error && this.disableButtomByUpdate) return true
|
||||
if (this.update && !error && this.disableButtomByUpdate) return true
|
||||
if (!this.update && error && !!error && this.disableButtonByUpdate) return true
|
||||
if (this.update && !error && this.disableButtonByUpdate) return true
|
||||
return false
|
||||
},
|
||||
changeGroupType(event) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user