fix: prefix with "model:"

This commit is contained in:
msojocs 2023-08-01 21:42:51 +08:00
parent 8c660a63e8
commit 9555a442b3

View File

@ -1324,17 +1324,22 @@ namespace WXML {
std::string v333 = v324[m].first.substr(0, 6u);
if (v333 == "model:")
{
std::string subStr = v324[m].first.substr(6u);
ss << "\"model:";
std::string subStr = v324[m].first.substr(6u);
ss << subStr << "\"" << ":\"";
ss << WXML::Rewrite::ToStringCode(v324[m].second.ToAttrContent());
ss << "\",";
std::string v336 = subStr;
// while (/* condition */)
// {
// /* code */
// }
throw "not implement";
// find
if (v330.find(v336) == v330.end())
{
v324[m].first = v336;
}
else
{
v324.erase(v324.begin() + m);
m = m - 1;
}
}
}