Преглед изворни кода

dashboard: Hide advanced options in flow rule dialog when cluster mode is enabled (#1367)

master
于玉桔 GitHub пре 4 година
родитељ
комит
76c37eae37
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са 3 додато и 3 уклоњено
  1. +3
    -3
      sentinel-dashboard/src/main/webapp/resources/app/views/dialog/flow-rule-dialog.html

+ 3
- 3
sentinel-dashboard/src/main/webapp/resources/app/views/dialog/flow-rule-dialog.html Прегледај датотеку

@@ -78,7 +78,7 @@
</div>
</div>

<div ng-if="!flowRuleDialog.showAdvanceButton">
<div ng-if="!flowRuleDialog.showAdvanceButton && !currentRule.clusterMode">
<div class="form-group">
<label class="col-sm-2 control-label" title="调用关系流控模式">流控模式</label>
<div class="col-sm-9">
@@ -103,7 +103,7 @@
</div>
</div>
</div>
<div ng-if="currentRule.grade==1 && !flowRuleDialog.showAdvanceButton">
<div ng-if="currentRule.grade==1 && !flowRuleDialog.showAdvanceButton && !currentRule.clusterMode">
<div class="form-group">
<label class="col-sm-2 control-label">流控效果</label>
<div class="col-sm-9">
@@ -130,7 +130,7 @@
</div>
</div>
</div>
<div class="form-group text-center">
<div class="form-group text-center" ng-if="!currentRule.clusterMode">
<a ng-click="onOpenAdvanceClick()" ng-if="flowRuleDialog.showAdvanceButton" style="cursor: pointer;">高级选项</a>
<a ng-click="onCloseAdvanceClick()" ng-if="!flowRuleDialog.showAdvanceButton" style="cursor: pointer;">关闭高级选项</a>
</div>


Loading…
Откажи
Сачувај