lifan
3 天以前 7d373af1a34ede50b72367be462a0ce1ed6b5baf
jrj/project/business/GDN/maint.Document.GDN.v3.cpp
@@ -193,7 +193,8 @@
            KXMLDOMNode t = items.item(0);
            xstring FileFormat=L"";
            if(t.selectSingleNode(L"FileFormat"))FileFormat=t.selectSingleNode(L"FileFormat").text();
            if(FileFormat !=L"pdf" && FileFormat !=L"PDF" && FileFormat != L"xlsx" && FileFormat != L"xls" && FileFormat != L"docx" && FileFormat != L"doc" )
            if(FileFormat !=L"pdf" && FileFormat !=L"PDF" && FileFormat != L"xlsx" && FileFormat != L"xls" && FileFormat != L"docx" && FileFormat != L"doc"
               && FileFormat != L"RAR" && FileFormat != L"rar" && FileFormat != L"ZIP" && FileFormat != L"zip")
            {
               alert(L"请上传正确格式的文件");
               return 0;