修改展示逻辑
This commit is contained in:
@@ -852,7 +852,11 @@ export default {
|
||||
})
|
||||
$("#resourceA").change(function () {
|
||||
var optVal = $(this).val();
|
||||
if (optVal != undefined && optVal == 5) {
|
||||
window.changeContent('A');
|
||||
if (optVal != undefined && optVal == 4) {
|
||||
$('#contentA').val('');
|
||||
$("#boxA").show();
|
||||
} else if (optVal != undefined && optVal == 5) {
|
||||
$('#contentA').val('');
|
||||
$('#contentLabA').html('网址链接<font color="red">*</font>:');
|
||||
$("#boxA").show();
|
||||
@@ -867,6 +871,7 @@ export default {
|
||||
});
|
||||
$("#resourceB").change(function () {
|
||||
var optVal = $(this).val();
|
||||
window.changeContent('B');
|
||||
if (optVal != undefined && optVal == 4) {
|
||||
$('#contentB').val('');
|
||||
$("#boxB").show();
|
||||
@@ -885,6 +890,7 @@ export default {
|
||||
});
|
||||
$("#resourceC").change(function () {
|
||||
var optVal = $(this).val();
|
||||
window.changeContent('C');
|
||||
if (optVal != undefined && optVal == 4) {
|
||||
$('#contentC').val('');
|
||||
$("#boxC").show();
|
||||
@@ -903,6 +909,7 @@ export default {
|
||||
});
|
||||
$("#resourceD").change(function () {
|
||||
var optVal = $(this).val();
|
||||
window.changeContent('D');
|
||||
if (optVal != undefined && optVal == 4) {
|
||||
$('#contentD').val('');
|
||||
$("#boxD").show();
|
||||
@@ -921,6 +928,7 @@ export default {
|
||||
});
|
||||
$("#resourceE").change(function () {
|
||||
var optVal = $(this).val();
|
||||
window.changeContent('E');
|
||||
if (optVal != undefined && optVal == 4) {
|
||||
$('#contentE').val('');
|
||||
$("#boxE").show();
|
||||
|
Reference in New Issue
Block a user