Commit 01b95571 by 陈超

T

parent 260470f7
......@@ -327,12 +327,11 @@
//Helper
onCondition: function(id, title, key) {
if(id.length == 0) {
let idx = this.conditions.hx_indexOf( r => { return r.type == key })
if(idx != -1) {
this.conditions.splice(idx, 1)
}
} else {
let idx = this.conditions.hx_indexOf( r => { return r.type == key })
if(idx != -1) {
this.conditions.splice(idx, 1)
}
if(id.length != 0) {
let condition = {
type: key,
id: id,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment