Parcourir la source

MMO-13072:更新游戏,空表格无法导出

meijun il y a 4 ans
Parent
commit
4001318fd1
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      工具库文件/excelToJson_server.py
  2. 1 1
      策划脚本/skill/SkillData.xml

+ 1 - 1
工具库文件/excelToJson_server.py

@@ -12,7 +12,7 @@ g_objName=""
 def table2json(table, jsonfilename):
     nrows = table.nrows
     ncols = table.ncols
-    if nrows <= 3:
+    if nrows < 3:
         return
     f = codecs.open(jsonfilename,"w","utf-8")
     f.write(u"[\n")

+ 1 - 1
策划脚本/skill/SkillData.xml

@@ -11604,7 +11604,7 @@
 <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"><Unsynced/> <FrozenNoSplit/> <SplitHorizontal>3</SplitHorizontal> <TopRowBottomPane>3</TopRowBottomPane> <SplitVertical>1</SplitVertical><LeftColumnRightPane>1</LeftColumnRightPane> <ActivePane>0</ActivePane>
 </WorksheetOptions>
  </Worksheet>
- <Worksheet ss:Name="MagicList">
+ <Worksheet ss:Name="(MagicList)">
   <Table ss:ExpandedColumnCount="5" ss:ExpandedRowCount="3" x:FullColumns="1"
    x:FullRows="1" ss:DefaultColumnWidth="54" ss:DefaultRowHeight="13.5">
    <Row ss:AutoFitHeight="0" ss:Height="37.5" ss:StyleID="s1">