fix #2909 about time can be empty

This commit is contained in:
pengpengshui 2017-08-03 13:38:27 +08:00
parent 3417ff731b
commit 0966887f98

View File

@ -31,7 +31,7 @@ export const VULNERABILITY_CONFIG_HTML: string = `
<option value="daily">{{ 'CONFIG.SCANNING.DAILY_POLICY' | translate }}</option> <option value="daily">{{ 'CONFIG.SCANNING.DAILY_POLICY' | translate }}</option>
</select> </select>
</div> </div>
<input type="time" name="dailyTimePicker" [disabled]="!editable" [hidden]="!showTimePicker" [(ngModel)]="dailyTime" /> <input type="time" name="dailyTimePicker" required [disabled]="!editable" [hidden]="!showTimePicker" [(ngModel)]="dailyTime" />
<a href="javascript:void(0)" role="tooltip" aria-haspopup="true" class="tooltip tooltip-top-right"> <a href="javascript:void(0)" role="tooltip" aria-haspopup="true" class="tooltip tooltip-top-right">
<clr-icon shape="info-circle" class="info-tips-icon" size="24"></clr-icon> <clr-icon shape="info-circle" class="info-tips-icon" size="24"></clr-icon>
<span class="tooltip-content">{{'CONFIG.TOOLTIP.SCANNING_POLICY' | translate}}</span> <span class="tooltip-content">{{'CONFIG.TOOLTIP.SCANNING_POLICY' | translate}}</span>