Selaa lähdekoodia

后管关联元素, 警告

qianxb 2 vuotta sitten
vanhempi
commit
08ab238c9f

+ 5 - 1
blade-service/blade-manager/src/main/java/org/springblade/manager/controller/ExcelTabController.java

@@ -563,9 +563,11 @@ public class ExcelTabController extends BladeController {
         // 复制模版htmlURL
 
         File file_in = ResourceUtil.getFile(excelTab.getHtmlUrl());
+//        File file_in = ResourceUtil.getFile("C:\\Users\\泓创研发01\\Desktop\\privateUrl\\1605183410156863488.html");
 
         String filecode = SnowFlakeUtil.getId() + "";
         String thmlUrl = file_path + "/privateUrl/" + filecode + ".html";
+//        String thmlUrl = "C:\\Users\\泓创研发01\\Desktop\\privateUrl\\out\\acc.html";
         File file_out = ResourceUtil.getFile(thmlUrl);
         FileUtil.copy(file_in, file_out);
         updateWrapper.set("html_url", thmlUrl);
@@ -655,7 +657,9 @@ public class ExcelTabController extends BladeController {
                         element.children().get(0).attr("placeholder", lastName)
                                 .attr("weighing", maxScore + "").attr("id", attrInfo).attr("keyName", attrInfo)
                                 .attr("@blur", "getRegularExpression(" + regularExpression + ",'" + filedLength + "')")
-                                .attr("maxlength", filedLength);
+                                .attr("maxlength", filedLength)
+                                .attr("class", "warnstyle");
+
                     }
                     element.attr("@click", "getInformation(" + oncklickText + ")");
                 }