判断是否是https
Yii::$app->request->isSecureConnection
取消yii2内置js文件
'assetManager' => [
'bundles' => [
'yii\widgets\ActiveForm'=>[
'js'=>[],
'sourcePath'=>null
]
]
]
判断是否是https
Yii::$app->request->isSecureConnection
取消yii2内置js文件
'assetManager' => [
'bundles' => [
'yii\widgets\ActiveForm'=>[
'js'=>[],
'sourcePath'=>null
]
]
]