Commit 3d98c495 authored by Steven杜宇's avatar Steven杜宇

// 上传问题

parent becb29cc
......@@ -272,7 +272,10 @@ class YHResignMaterialViewModel: YHBaseViewModel {
// 再调用业务接口
if let successUrl = successUrl, !successUrl.isEmpty {
var fileName = fileUrl.absoluteString.lastPathComponent
// 解决中文名称乱码问题
if let decodedFileName = fileName.removingPercentEncoding {
fileName = decodedFileName
}
let model = YHMaterialModelItemModel()
model.url = successUrl
......
......@@ -176,7 +176,7 @@ class YHMessageSessionCell: UITableViewCell {
make.width.equalTo(badgeHeight)
make.height.equalTo(badgeHeight)
make.top.equalToSuperview().offset(-4)
make.left.equalTo(iconContentView.snp.right).offset(-12)
make.right.equalTo(iconContentView.snp.right).offset(6)
}
nameLabel.snp.makeConstraints { make in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment