The 'gridview' module MUST be setup in your Yii configuration file.
解决方法:common的config的main.php中添加
'gridview' => ['class' => 'kartik\grid\Module'],
在vender的composer->autoload_psr4.php
'kartik\\dialog\\' => array($vendorDir . '/kartik-v/yii2-dialog'),
composer->autoload_static.php
'kartik\\dialog\\' =>
array (
0 => __DIR__ . '/..' . '/kartik-v/yii2-dialog',
),