Przeglądaj źródła

发布需求所涉及行业添加不能对于10个字

jack 8 lat temu
rodzic
commit
ae0ba0c030
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      js/myDemand.js

+ 4 - 0
js/myDemand.js

@ -265,6 +265,10 @@ $(document).ready(function() {
265 265
				$.MsgBox.Alert("消息", "请先添加内容");
266 266
				return;
267 267
			}
268
			if(oinduSub.trim().length>10) {
269
				$.MsgBox.Alert("消息", "不能多于10个字");
270
				return;
271
			}
268 272
			if(oAddNum.length == 5) {
269 273
				$.MsgBox.Alert("消息", "最多添加五条");
270 274
				return;