| | |
| | | title: '请输入选项名', |
| | | }, function(value, index, elem){ |
| | | layer.close(index); |
| | | |
| | | <!-- 2018-12-21 不可输入默认选项 chenlei start --> |
| | | if ('默认' == value) { |
| | | layer.msg('不可输入默认!'); |
| | | return false; |
| | | } |
| | | <!-- 2018-12-21 不可输入默认选项 chenlei end --> |
| | | |
| | | for (var i = 0; i < json.length; i++) |
| | | { |
| | |
| | | title: '请输入选项名', |
| | | }, function(value, index, elem){ |
| | | layer.close(index); |
| | | |
| | | <!-- 2018-12-21 不可输入默认选项 chenlei start --> |
| | | if ('默认' == value) { |
| | | layer.msg('不可输入默认!'); |
| | | return false; |
| | | } |
| | | <!-- 2018-12-21 不可输入默认选项 chenlei end --> |
| | | |
| | | for (var i = 0; i < json.length; i++) |
| | | { |