我正在使用这里提到的剑道时间选择器控件,如下所示
<kendo-timepicker [(ngModel)] = "entity.time" name="scheduledTime" #scheduledTimeVar = "ngModel">
</kendo-timepicker>
现在,当页面呈现时,有时“取消”和“设置”按钮会丢失。当我检查页面时..向我显示了“取消”和“设置”按钮如下所示的 html:
<div class="k-time-footer k-action-buttons">
<button class="k-button k-time-cancel ng-star-inserted" ng-reflect-events="[object Object]" ng-reflect-scope="[object Object]" title="Cancel changes" aria-label="Cancel changes">Cancel</button>
<button class="k-time-accept k-button k-primary" ng-reflect-events="[object Object]" ng-reflect-scope="[object Object]" title="Set time" aria-label="Set time">Set</button>
</div>
取消和设置按钮有时只是不出现。然后,如果我刷新页面。(F5),确实如此。知道为什么..?任何帮助将不胜感激!