Commit 6871f4f6732df677474590ca357c146dbc4065e2
1 parent
be83d162
删除测试代码
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
src/models/RoleChangeStruct.lua
@@ -51,7 +51,6 @@ local RoleChangeStruct = {} | @@ -51,7 +51,6 @@ local RoleChangeStruct = {} | ||
51 | function RoleChangeStruct.bind(Role) | 51 | function RoleChangeStruct.bind(Role) |
52 | 52 | ||
53 | function Role:changeStructVersion() | 53 | function Role:changeStructVersion() |
54 | - globalCsv.StructVersion = 6 | ||
55 | local curVersion = self:getProperty("structVersion") | 54 | local curVersion = self:getProperty("structVersion") |
56 | if not globalCsv.StructVersion or curVersion >= globalCsv.StructVersion then return end | 55 | if not globalCsv.StructVersion or curVersion >= globalCsv.StructVersion then return end |
57 | 56 | ||
@@ -100,7 +99,7 @@ function RoleChangeStruct.bind(Role) | @@ -100,7 +99,7 @@ function RoleChangeStruct.bind(Role) | ||
100 | end | 99 | end |
101 | end | 100 | end |
102 | end | 101 | end |
103 | - -- self:setProperty("structVersion", globalCsv.StructVersion) | 102 | + self:setProperty("structVersion", globalCsv.StructVersion) |
104 | end | 103 | end |
105 | 104 | ||
106 | end | 105 | end |