std::string 设备名 = 分区;
size_t pos = 设备名.rfind('/');
if (pos != std::string::npos) {
设备名 = 设备名.substr(pos + 1);
}
添加日志("[擦除][w]成功 " + 设备名);
成功计数++;
size_t pos = 设备名.rfind('/');
if (pos != std::string::npos) {
设备名 = 设备名.substr(pos + 1);
}
添加日志("[擦除][w]成功 " + 设备名);
成功计数++;
👍5❤1