我正在从指令迁移到组件,但使用 $compile As 时出现错误:
$compile(ReturnDomElement)(scope);
应该使用什么来代替 $scope 因为我没有在我的组件中注入 $scope 。
None