12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6b9504b8"],{"9a87":function(e,c,t){"use strict";t("b830")},b830:function(e,c,t){},dc62:function(e,c,t){"use strict";t.r(c);var s=function(){var e=this,c=e.$createElement,t=e._self._c||c;return t("div",[t("div",{ref:"shiyan",staticClass:"shiyan"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.checkbox,expression:"checkbox"}],staticClass:"shiyan_checkbox",attrs:{type:"checkbox",name:"checkbox"},domProps:{checked:Array.isArray(e.checkbox)?e._i(e.checkbox,null)>-1:e.checkbox},on:{change:[function(c){var t=e.checkbox,s=c.target,a=!!s.checked;if(Array.isArray(t)){var i=null,r=e._i(t,i);s.checked?r<0&&(e.checkbox=t.concat([i])):r>-1&&(e.checkbox=t.slice(0,r).concat(t.slice(r+1)))}else e.checkbox=a},e.getcolor]}}),t("label",{attrs:{for:"checkbox"}},[e._v("1")]),t("input",{attrs:{type:"text",placeholder:"实验"}})])])},a=[],i={data:function(){return{checkbox:!1}},methods:{getcolor:function(){if(1==this.checkbox){var e=this.$refs.shiyan;"active"===e.getAttribute("class")?e.setAttribute("class",""):e.setAttribute("class","active")}else{var c=this.$refs.shiyan;"active1"===c.getAttribute("class")?c.setAttribute("class",""):c.setAttribute("class","active1")}}}},r=i,o=(t("9a87"),t("2877")),n=Object(o["a"])(r,s,a,!1,null,"3be1a055",null);c["default"]=n.exports}}]);
- //# sourceMappingURL=chunk-6b9504b8.026c699e.js.map
|