Browse Source

上传录制时不再能选择全部

解决上传中文文件乱码问题
master
张剑 11 months ago
parent
commit
d6d7c29661
3 changed files with 5 additions and 23 deletions
  1. 2
    2
      XHWK.WKTool/App.config
  2. 2
    20
      XHWK.WKTool/UploadWindow.xaml.cs
  3. 1
    1
      星火微课/星火微课-测试.iss

+ 2
- 2
XHWK.WKTool/App.config View File

@@ -7,8 +7,8 @@
7 7
     <!--0正式 1测试-->
8 8
     <add key="IsDebug" value="1" />
9 9
     <!--版本号-->
10
-    <add key="VersionCode" value="130" />
11
-    <add key="VersionName" value="3.13.3" />
10
+    <add key="VersionCode" value="131" />
11
+    <add key="VersionName" value="3.13.4" />
12 12
     <!--皮肤样式 0白 1蓝 2黑色 -->
13 13
     <add key="SkinStyle" value="0" />
14 14
     <!--是否输出视频记录日志:0否-->

+ 2
- 20
XHWK.WKTool/UploadWindow.xaml.cs View File

@@ -148,27 +148,9 @@ namespace XHWK.WKTool
148 148
                 if (code == 0)
149 149
                 {
150 150
                     pageData.zhangjieList.Clear();
151
-                    pageData.zhangjieList.Add
152
-                    (
153
-                        new ComboBoxBean()
154
-                        {
155
-                            Key = "0",
156
-                            Value = "全部",
157
-                            leaf = 1
158
-                        }
159
-                    );
160
-                    for (int i = 0; i < App.DirectorList.Count; i++)
151
+                    foreach (var item in App.DirectorList)
161 152
                     {
162
-                        ModelDirectorList item = App.DirectorList[i];
163
-                        pageData.zhangjieList.Add
164
-                        (
165
-                            new ComboBoxBean()
166
-                            {
167
-                                Key = item.directorid,
168
-                                Value = item.directorname,
169
-                                leaf = item.leaf
170
-                            }
171
-                        );
153
+                        pageData.zhangjieList.Add(new ComboBoxBean() { Key = item.directorid, Value = item.directorname, leaf = item.leaf });
172 154
                         AddChild(item);
173 155
                     }
174 156
                     cmbTeachingMaterial.SelectedIndex = 0;

+ 1
- 1
星火微课/星火微课-测试.iss View File

@@ -3,7 +3,7 @@
3 3
 
4 4
 #define MyAppName "星火微课测试版"  
5 5
 #define MyAppDir "xhwk_test"
6
-#define MyAppVersion "3.13.3"
6
+#define MyAppVersion "3.13.4"
7 7
 #define MyAppPublisher "河南星火燎原软件科技有限公司"
8 8
 #define MyAppURL "http://www.xhkjedu.com/"
9 9
 #define MySourcePath "D:\Project\CSharp\xh-wkclient\XHWK.WKTool\bin\x86\Debug\"

Loading…
Cancel
Save