mirror of
https://github.com/msojocs/wx-compiler.git
synced 2025-07-19 00:00:04 +08:00
fix: prefix with "model:"
This commit is contained in:
parent
8c660a63e8
commit
9555a442b3
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user