企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 视图 ## 执行URL ``` <a class="btn btn-warning btn-sm" href="{:url('menu/getactions')}">导入新菜单</a> ``` ## 代码 ``` <!doctype html> <html> <head> <meta charset="utf-8"> <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"> </head> <body> <!--中间内容/start--> <div class="wrap"> <div id="error_tips"> <h2>应用{$app}菜单导入成功!</h2> <div class="error_cont"> <ul> <if condition="!empty($new_menus)"> <foreach name="new_menus" item="vo"> <li>{$vo}</li> </foreach> <else/> <li>应用{$app}没有新菜单导入!</li> </if> </ul> <if condition="!empty($next_app)"> <script> setTimeout(function () { location.href = "{:url('agent/menu/getactions',array('app'=>$next_app))}"; }, 1000); </script> <div class="error_return"> <a href="{:url('agent/menu/getActions',array('app'=>$next_app))}" class="btn btn-primary">下一个应用</a> <a href="{:url('admin/menu/index')}" class="btn btn-default" style="margin-left: 10px;">返回</a> </div> <else/> <div>全部导入成功!</div> <div class="error_return"> <a href="{:url('agent/menu/index')}" class="btn btn-default">返回</a> </div> </if> </div> </div> </div> <!--中间内容/end--> </body> </html> ```