报错的代码:
<div class="gf-form">
<label class="gf-form-label width-8">{{'public.decimals' | translate}}</label>
<input type="number" class="gf-form-input width-12" placeholder="{{'public.auto' | translate}}" data-placement="right"
bs-tooltip="{{'public.decimalLegendTooltip' | translate}}"
ng-model="iconfig.value.decimals" ng-change="ctrl.refresh()" ng-model-onblur>
</div>
报错内容:
正常应该类似下面这种:
现在是直接报错没生效。直接将 bs-tooltip="{{'public.decimalLegendTooltip' | translate}}"改为 bs-tooltip=“0000”,不再报错,但是提示也没生效