easyui 面板关闭后无法再次打开

 function add(){
        $('#add').panel({
            width:500,
            height:150,
            title:'My Panel',
            closable:true,  
            tools:[{
            iconCls:'icon-remove',
            handler:function(){}
            },{
            iconCls:'icon-save',
            handler:function(){alert('save')}
            }]
        });         
    }

定义了一个按钮,点击就会打开面板,面板设定有关闭功能,但是关闭后在点按钮却打不开,求大神解救,谢谢

没有问题,你怎么搞的?打开要调用open方法,不是在执行panel方法初始化对象

    <div style="margin:20px 0 10px 0;">
        <a href="#" class="easyui-linkbutton" onclick="javascript:$('#p').panel('open')">Open</a>
        <a href="#" class="easyui-linkbutton" onclick="javascript:$('#p').panel('close')">Close</a>
    </div>
    <div id="p" class="easyui-panel" title="Basic Panel" style="width:700px;height:200px;padding:10px;" data-options="closable:true">
        <p style="font-size:14px">jQuery EasyUI framework helps you build your web pages easily.</p>
        <ul>
            <li>easyui is a collection of user-interface plugin based on jQuery.</li>
            <li>easyui provides essential functionality for building modem, interactive, javascript applications.</li>
            <li>using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.</li>
            <li>complete framework for HTML5 web page.</li>
            <li>easyui save your time and scales while developing your products.</li>
            <li>easyui is very easy but powerful.</li>
        </ul>
    </div>

第一你的关闭按钮是做的是销毁还是关闭。第二你的tools 可以换成 buttons ,欢迎来336320726 群相互学习