Спасибо, это очень помогло
Подробнее
O ►[Vue warn]: Failed to generate render function: vue.is:577 SyntaxErrcr: Unexpected token , in with(this){return _c('div',{staticClass:“panel panel-default",attrs:{"id":"classe-form"}},[_c(‘div’,{staticClass:"panel-heading"},[_c('hi',{staticClass:"page-header"),[_v(_s(cias['Title' ])+" ")])]),_c('div',{staticClass:"panel-body"},[_c('div',{staticCiass:"form-group"},[_c('table',[_c('tbody',[_c(’tr',[_m(0),_c('td',{staticStyle:{"width":"80%"}},[_v(_s(clas['Code'])+" ")])]),_c('tr’,[_m(l), (edit['Title'])?_c('td’,{staticStyle:{"width":"80%"}},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(new['Title']),expression:"new['Title']"}],attrs: {"size":"59","placeholder":clas[’Title']},domProps:{"value":(new['Title'])),on:{"input":function(Sevent){if(Sevent.target.composing)return;Sset(new, 'Title', Sevent.target.value)))))]):_c('td', {staticStyle:{"width":"80X”)},[_v(_s(clas['Title'])+" H)]), _c('td*,{staticStyle:{"width":"10*"}},[_c(*label',{staticStyle:{"padding-right":"5px"}),[_v(“Editar")]),_c('input',{directives: [{name:"model",rawName:"v-model",value:(edit['Title']),expression:"edit['Title']"}],attrs:{"type"¡"checkbox"},domProps:{"checked"¡Array.isArray(edit['Title'])?_i(edit['Title'3, null)>-l:(edit!'Title'])},on: {"change"¡function(Sevent){va- S$e=edit['Title'],SSel=Sevent.target,SSc=SSel.checked?(true):(false);if(Array.isArray(SSa)){var S$v=null,SSi=_i($Se,SSv);if(SSel.checked){SSi<0&& (edit['Title'>SSa.concat([SSv]))}else{SSi>-l&&(edit['Title']=SSa.slice(0,SSi).concat(SSa.slice($Si+l)))}}else(Sset(edit, 'Title', $$c)}}}))])]),_c(,tr',[_m(2),_c('td',{staticStyle:{"width":"80X"}}, [_v(_s(clas['Parent']))])]),_c(’tr',[_m(3),(edit['Status'))?_c('td',{staticStyle¡{"width":"83%"}},[_c('input',{directives:[{name:"model",rawName:"v-model",value: (new['Status']),expression:"new['Status')"}],attrs¡{"size":"50","placeholder":clas['Status']},domProps:{"value":(new['Status'])},on:{"input"¡function(Sevent){if(Sevent.target.composing)return;Sset(new, 'Status', Sevent.target.value)}}})]):_c('td',{staticStyle:{"width":"80%"}},[_v(_s(cias['Status'])+" ")] ).,_c( 'td’,{staticStyle:{"width":"10%"}},[_c('label',{staticStyle¡{"padding-right":"5px"}}, [_v("Editar")]),_c('input',{directives:[{name:"model",rawName:"v-model",value:(edit['Status']),expression:"edit['Status']"}],attrs:{"type":"checkbox"},domProps:{"checked":Array.isArray(edit['Status’])? _i(edit['Status’],null)>-1:(edit['Status'])},on¡{"change":function(Sevent){var SSa=edit['Status'],SSei=Sevent.target,SSc=SSel.checked?(true):(false);if(Array.isArray(SSa)){var S$v=null,SSi=_i($Se,SSv);if(SSel.checked){SSi<8&&(edit['Status']=SSa.concat([SSv]))}else{SSi>-l&&(edit['Status']=SSe.slice(8,SSi).concat(SSa.slice($Si+l)))}}else{Sset(edit, 'Status', SSc)}}}})])]),_c('tr', (editC'Desc'])?_c('td',{staticStyle:{"width":"80%"}},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(new['Desc']),expression:"new['Desc']“}],attrs: {"size":"53","placeholder":clas['Desc']},domProps:{"value":(new['Desc'3)},on:{"input"¡function(Sevent){if(Sevent.target.composing)return;Sset(new, 'Desc’, Sevent.target.value)}}})]):_c(’td',{staticStyle: {"width":"80%"}},[_v(_s(clas['Desc'])+" ")]),_c('td',{staticStyle¡{"width":"10%"}},[_c('label',{staticStyle:{"padding-right":"5px"}},[_v("Editar")]),_c('input',{directives:[{name:"model",rawName:"v- model",value:(edit['Desc']),expression:"edit['Desc']"}],attrs:{"type":"checkbox"},domProps¡{"checked"¡Array.isArray(edit['Desc'])?_i(edit['Desc'],null)>-l:(edit['Desc'])},on¡{"change"¡function(Sevent){var S$a=edit['Desc'],SSel=Sevent.target,SSc=SSel.checked?(true):(false);if(Array.isArray(SSa)){var SSv=null,S$i=_i(SSa,SSv);if(SSel.checked){$$i<0&&(edit['Desc']=SSe.concat([SSv]))}else{SSi>-l&& (edit['Desc']=SSa.slice(0,SSi).concat(SSa.slice(SSi+l)))}}else{Sset(edit, 'Desc', SSc)}}}})])]),_c('tr',[_m(5),(edit['ProcType'])?_c('td',{staticStyle:{"width":"80%"}},[_c('input’,{directives: [{name:"model",rawName:"v-model",value:(new['ProcType’]),expression:“new['ProcType']"}],attrs¡{"size":"50","placeholder":clas[’ProcType']},domProps¡{"value":(new['ProcType'])},on:{"input"¡function(Sevent) {if(Sevent.target.composing)return;Sset(new, 'ProcType', Sevent.target.value)}}})]):_c('td',{staticStyle¡{"width":"80%"}},[_v(_s(clas['ProcType'])+" ")]),_c('td',{staticStyle:{“width":"10%"}},[_c('label', {staticStyle¡{"padding-right":"5px"}},[_v("Editar")]),_c('input',{directives:[{name:"model",rawName:"v-model",value:(edit['ProcType']),expression:"edit['ProcType']"}],attrs:{"type":"checkbox"},domProps: {"checked":Array.isArray(edit['ProcType'])?_i(edit['ProcType'],null)>-l:(edit['ProcType'])},on:{"charge":function(Sevent){var SSa=edit['ProcType'],S$el=Sevent.ta-get,SSc=SSel.checked?(true): (false);if(Array.isArray(SSa)){var S$v=null,SSi=_i($Sa,SSv);if(SSel.checked){SSi<0&&(edit['ProcType']=SSa.concat([SSv]))}else{SSi>-l&& (edit['ProcType']=SSa.slice(0,SSi).concat(SSa.slice(SSi+l)))}}else{Sset(edit, 'ProcType', SSc)}}}})])]),_c('tr',[_m(6),(edi*['PrccTrans'])?_c('td’,{staticStyle:{"width":"80%"}},[_c('input’,{directives: [{name:"model",rawName:"v-model",value:(new[’ProcTrans']),expression:"new[’ProcTrans']"}],attrs:{"size":"50","placeholder":clas['ProcTrens']},domProps:{"value":(new['ProcTrans'])},on: {"input"¡function(Sevent){if(Sevent.target.composing)return;Sset(new, 'ProcTrans', Sevent.target.value)}}})]):_c('td',{staticStyle:{"width":"80%"}},[_v(_s(clas['ProcTrans’])+" ")]),_c(’td',{staticStyle: {"width":"18%"}},[_c('label',{staticStyle:{"padding-right":"5px"}>,[_v("Editar")]),_c('input',{directives:[{name¡"model",rawName:"v-model",value:(edit['ProcTrans']),expression:"edit['ProcTrans']"}],attrs: {"type":"checkbox"},dcmP''op5:{"checked"¡Array.isArray(edit['ProcTrans'])?_i(edit['ProcTrans’],null)>-l:(edit['ProcTrans'])},on:{"change"¡function(Sevent){var SSa=edit['ProcTrans'],SSel*$event.target,$Sc*$$el.checked?(true):(false);if(Array.isArray(SSa)){var SSv=null,SSi=_i(SSa,S$v);if(SSel.checked){S$i<0&&(edit['ProcTrans']=$Sa.coneat([SSv]))}else{SSi>-l&& (edit['ProcTrans']=SSa.slice(0,SSi).concat(SSa.slice(SSi+l)))}}else{Sset(edit, 'ProcTrans', SSc)}}}})])]),_c('tr',[_m(7),(edit['Owners'])?_c('td',{staticStyle:{"width":"88%"}},[_c('table',[_c('tbody', [(clas[’Level']==3 && orgsReady)?_c('tr*,[_c('td',[_c(’select',{directives:[{name¡"model",rawName:"v-model",value:(newOwner),expression:"newOwner“}],on¡{"change":function(Sevent){var SSselectedVal = Array.prototype.filter.call(Sevent.target.options,function(o){return o.selected}),map(function(o){var val = "_value" in o ? o._value : o.value;return val}); newOwner=Sevent.target.multiple ? SSselectedVal : SSseiectedVal[8]}}},_l((orglist),function(o,inbex){return _c('option',{domProps:{"value":o}},[_v(_s(o.Sigla))])})),_c('button',{on:{"click"¡function(Sevent){addOwner(orgList.indexOf(newOwner))}}}, [_v("+”)])])]):_e(),(type==3 && ownerList)?_c('tr',[_c('td',[_c(’ul', _1 ((owr.erList), f unct ion (o, index) {return _c(*li’,[_v(_s(o.Sigla)),_c('button',{on¡{"click"¡function(Sevent){remOwner(index)}}}, [_v("x")])])}))])]):_e()])])]):_c('td',{staticStyle:{"width":"80%"}},[_c('ul',_l((ownerList),function(o){return _c('li',[_v(_s(o.Sigla)+" - "+_s(o.Nome))])}))]),_c('td',{staticStyle:{"width":"10%"}}, [_c('label',{staticStyle:{"padding-right":"5px"}},[_v("Editar")]),_c('input',{directives:[{name:"model",rawName:"v-model",value:(edit['ProcTrans']),expression:"edit['ProcTrans’ ]"}],attrs: {"type":"checkbox"},domProps¡{"checked":Array.isArray(edit['ProcTrans'])?_i(edit['ProcTrans’],null)>-l:(edit['ProcTrans'])},on¡{"change"¡function(Sevent){var S$a=edit['ProcTrans'],SSel=Sevent.target,SSc=SSel.checked?(true):(false);if(Array.isArray(SSa)){var SSv=null,$Si=_i(SSa,SSv);if(SSel.checked){$Si<0&&(edit['ProcTrans']=$Sa.coneat([SSv]))}eise{SSi>-l&& (edit['ProcTrans’]=SSa.slice(3,SSi).concat(SSa.slice(SSi+l)))}}else{Sset(edit, 'ProcTrans', SSc)}}}})])])])])]),_c('input',{staticClass:"btn btn-xs btn-default col-sm-1",attrs: {"type"¡"button","value":"Confirmar","disabled":!((editName && new['Name']) || (editlnitials && new['Initials’]))},on:{"click":update}}),_c(’input',{staticClass:"btn btn-xs btn-warning col-sm-1",attrs: {"type":"button","value":"Apagar","disabled":(editName || editlnitials)},on:{"click":delReady}}),_c('p',{staticClass:"col-sm-5"},[_v(_s(message))]),(delConfirm)?_c('input',{staticCiass:"btn btn-xs btn-danger",attrs:{"type"¡"button","value":"OK"},on:{"click":deleteOrg}}):_e(),(delConfirm)?_c('input',{staticClass:“btn btn-xs btn-info",attrs:{"type":"button","value":"<-"},on: {"click":deiNotReady}}):_e()])])}
it-юмор,javascript
Еще на тему