修复任务提交与弹窗交互问题
This commit is contained in:
@ -177,4 +177,14 @@ struct TaskFileItem: Sendable, Equatable, Hashable, Identifiable {
|
||||
return uploadFileName ?? ""
|
||||
}
|
||||
}
|
||||
|
||||
/// 素材来源角标文案。
|
||||
var sourceBadgeText: String {
|
||||
switch source {
|
||||
case .cloud:
|
||||
return "云盘"
|
||||
case .upload:
|
||||
return "本地"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user