Browse Source

refactor:更改自定义菜单资源注册文件名字

wechat_public_accounts
linyaostalker 5 years ago
parent
commit
28daca1d9a
  1. 4
      backend/modules/wx_public_account/views/public-account/custom_menu.php
  2. 2
      backend/modules/wx_public_account/web/CustomMenuAsset.php

4
backend/modules/wx_public_account/views/public-account/custom_menu.php

@ -1,6 +1,6 @@
<?php
use backend\modules\wx_public_account\web\WxPublicAccountAsset;
use backend\modules\wx_public_account\web\CustomMenuAsset;
/* @var $this yii\web\View */
/* @var $searchModel vendor\iron\coupon\src\models\searchs\ServicesDomainSearch */
@ -8,7 +8,7 @@ use backend\modules\wx_public_account\web\WxPublicAccountAsset;
$this->title = '自定义菜单';
$this->params['breadcrumbs'][] = $this->title;
WxPublicAccountAsset::register($this);
CustomMenuAsset::register($this);
list(, $url) = Yii::$app->assetManager->publish('@backend/modules/wx_public_account/assets');
?>
<div id="app"></div>

backend/modules/wx_public_account/web/WxPublicAccountAsset.php → backend/modules/wx_public_account/web/CustomMenuAsset.php

Loading…
Cancel
Save