款色初始化和编辑后,上面四个控件值重置var form = this.options.form;var p2Widget = form.getWidgetByName("Label品牌");var p3Widget = form.getWidgetByName("品牌");var p4Widget = form.getWidgetByName("Label年份");var p5Widget = form.getWidgetByName("年份");var p6Widget = form.getWidgetByName("Label季节");var p7Widget = form.getWidgetByName("季节");var p8Widget = form.getWidgetByName("Label小类");var p9Widget = form.getWidgetByName("小类");var value = this.getValue(); //获取当前参数即type参数的值if (value.length() == 0) { p2Widget.visible(); p3Widget.visible(); p4Widget.visible(); p5Widget.visible(); p6Widget.visible(); p7Widget.visible(); p8Widget.visible(); p9Widget.visible(); }else { p2Widget.reset(); p3Widget.reset(); p6Widget.reset(); p7Widget.reset(); p4Widget.reset); p5Widget.reset(); p8Widget.reset(); p9Widget.reset();}上面是我写的,咋不对啊