修复资源位展示问题
This commit is contained in:
@@ -867,7 +867,10 @@ export default {
|
||||
});
|
||||
$("#resourceB").change(function () {
|
||||
var optVal = $(this).val();
|
||||
if (optVal != undefined && optVal == 5) {
|
||||
if (optVal != undefined && optVal == 4) {
|
||||
$('#contentB').val('');
|
||||
$("#boxB").show();
|
||||
} else if (optVal != undefined && optVal == 5) {
|
||||
$('#contentB').val('');
|
||||
$('#contentLabB').html('网址链接<font color="red">*</font>:');
|
||||
$("#boxB").show();
|
||||
@@ -882,7 +885,10 @@ export default {
|
||||
});
|
||||
$("#resourceC").change(function () {
|
||||
var optVal = $(this).val();
|
||||
if (optVal != undefined && optVal == 5) {
|
||||
if (optVal != undefined && optVal == 4) {
|
||||
$('#contentC').val('');
|
||||
$("#boxC").show();
|
||||
} else if (optVal != undefined && optVal == 5) {
|
||||
$('#contentC').val('');
|
||||
$('#contentLabC').html('网址链接<font color="red">*</font>:');
|
||||
$("#boxC").show();
|
||||
@@ -897,7 +903,10 @@ export default {
|
||||
});
|
||||
$("#resourceD").change(function () {
|
||||
var optVal = $(this).val();
|
||||
if (optVal != undefined && optVal == 5) {
|
||||
if (optVal != undefined && optVal == 4) {
|
||||
$('#contentD').val('');
|
||||
$("#boxD").show();
|
||||
} else if (optVal != undefined && optVal == 5) {
|
||||
$('#contentD').val('');
|
||||
$('#contentLabD').html('网址链接<font color="red">*</font>:');
|
||||
$("#boxD").show();
|
||||
@@ -912,7 +921,10 @@ export default {
|
||||
});
|
||||
$("#resourceE").change(function () {
|
||||
var optVal = $(this).val();
|
||||
if (optVal != undefined && optVal == 5) {
|
||||
if (optVal != undefined && optVal == 4) {
|
||||
$('#contentE').val('');
|
||||
$("#boxE").show();
|
||||
} else if (optVal != undefined && optVal == 5) {
|
||||
$('#contentE').val('');
|
||||
$('#contentLabE').html('网址链接<font color="red">*</font>:');
|
||||
$("#boxE").show();
|
||||
|
Reference in New Issue
Block a user