How can I disable yii-debug-toolbar on a specific view?

后端 未结 8 1435
你的背包
你的背包 2021-02-02 12:58

How can I disable yii-debug-toolbar on a specific view especially on partial rendered views?

Is this possible?

p.s. Yii-debug-toolbar

8条回答
  •  南笙
    南笙 (楼主)
    2021-02-02 13:50

    If you don't wan to show the log, you can hide the yii-debug console using jQuery

       $('#ydtb-toolbar').hide();
    

    Call this snippet on your views.

提交回复
热议问题