后台 iframe显示404 不知道啥原因啊
来源:4-2 后台模块页面搭建
vc
2017-10-25
<iframe scrolling="yes" frameborder="0" src="{:url('index/welcome')}"></iframe><?php
namespace app\admin\controller;
use think\Controller;
class Index extends Controller
{
public function index()
{
return $this->fetch();
}
public function welcome() {
return "后台主页!";
}
}写回答
2回答
-
vc
提问者
2017-10-26
00 -
vc
提问者
2017-10-25
<iframe scrolling="yes" frameborder="0" src="/index.php/admin/index/welcome.html"></iframe>
这是查看元素 前台的生成路径
022017-10-25
相似问题
