Skip to content

Commit

Permalink
1.修改本地访问的样式引用问题
Browse files Browse the repository at this point in the history
2.修复菜单不显示BUG
  • Loading branch information
liulipeng committed Jul 15, 2016
1 parent 9ae3175 commit 8c7bfed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions views/menu/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
$this->title = Yii::t('rbac-admin', 'Menus');
$this->params['breadcrumbs'][] = $this->title;

$this->registerCssFile("/statics/assets/fuelux/css/tree-style.css");
$this->registerJsFile("/statics/assets/fuelux/js/tree.min.js", ['depends'=>'backend\assets\AppAsset']);
$this->registerJsFile("/statics/js/tree.js", ['depends'=>'backend\assets\AppAsset']);
$this->registerCssFile("@web/statics/assets/fuelux/css/tree-style.css");
$this->registerJsFile("@web/statics/assets/fuelux/js/tree.min.js", ['depends'=>'backend\assets\AppAsset']);

$this->registerJs($this->render('@app/web/statics/js/tree.js', ['web' => Yii::getAlias('@web')]));

$this->registerJs("
jQuery(document).ready(function() {
Expand Down
2 changes: 1 addition & 1 deletion views/permission/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
$this->title = Yii::t('rbac-admin', 'Permissions');
$this->params['breadcrumbs'][] = $this->title;

$this->registerCssFile('/statics/assets/data-tables/DT_bootstrap.css', ['depends'=>'backend\assets\AppAsset']);
$this->registerCssFile('@web/statics/assets/data-tables/DT_bootstrap.css', ['depends'=>'backend\assets\AppAsset']);

?>

Expand Down

0 comments on commit 8c7bfed

Please sign in to comment.