我使用ExtJS 5.0.1创建了一个简单的Panel,但是不工作。每次我得到的错误SyntaxError: expected expression, got '}'
ExtJS 5:SyntaxError:预期的表达式,使用Ext.panel.Panel得到'}'
var anchura = windowWidth;
anchura *= 0.970;
anchura += 1;
var altura = windowHeight;
altura *= 0.98;
panel = new Ext.panel.Panel({
id:'ventana',
autoScroll:true,
height: altura,
width: anchura,
title: ' <bean:message key="breadcrumbs.gestionInventarios.consultaMultiple" />',
iconCls:'vDependencias',
layout: 'border',
closable: false,
renderTo: 'contenedor',
resizable: false,
items: ['algo','otro algo'],
frame: true
});
什么是“物品”? –