if判断
This commit is contained in:
@@ -238,12 +238,14 @@ export default {
|
||||
},
|
||||
|
||||
toAdd(index) {
|
||||
this.delAndEdit = false
|
||||
if (this.statDisabled == 0 && index == 0) {
|
||||
this.delAndEdit = false
|
||||
return this.$u.toast('该数据未审核')
|
||||
}
|
||||
if (this.tabIndex0 == 3 && this.tabCurrent1 == 1) {
|
||||
return
|
||||
}
|
||||
|
||||
this.delAndEdit = false
|
||||
if (index == 0) {
|
||||
this.$linkTo(`./add?id=${this.editId}`)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user