带管角条件类

时间:2018-11-20 19:33:14

标签: angular

如果进度== 100,尝试执行条件类,但是我的语法不正确?

SELECT * 
FROM [Table]
CROSS APPLY
(
    SELECT  MIN([Date]) As MinDate, 
            MAX([Date]) As MaxDate
    FROM (VALUES ([Date1]), ([Date2]), ([Date3]), ([Date4])) VALS([Date])
)
WHERE MinDate <= y
AND MaxDate >= x
AND x <= y

1 个答案:

答案 0 :(得分:1)

确保progress[file.name].progress将返回PromiseObservable。然后像这样使用它(将表达式包装到async中的()部分):

[class.finalDone]="(progress[file.name].progress | async) === 100" 

这是您推荐的Sample StackBlitz