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