summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshizhendong <[email protected]>2019-10-25 15:49:32 +0800
committershizhendong <[email protected]>2019-10-25 15:49:32 +0800
commitb6e694c17bc2a3421f40d246fb600e1f18435f2b (patch)
treed4e5e64b35c6e5be7f7af76a19e3f9f10f48833a
parentcb54c8387ee1e043f357e621e63cec6fa0e00567 (diff)
update
-rw-r--r--nezha-admin/src/main/resources/templates/js/modules/node/nodeInfo.js2
-rw-r--r--nezha-admin/src/main/resources/templates/modules/node/nodeInfo.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/nezha-admin/src/main/resources/templates/js/modules/node/nodeInfo.js b/nezha-admin/src/main/resources/templates/js/modules/node/nodeInfo.js
index 9d0bafb8..d8b130f5 100644
--- a/nezha-admin/src/main/resources/templates/js/modules/node/nodeInfo.js
+++ b/nezha-admin/src/main/resources/templates/js/modules/node/nodeInfo.js
@@ -1389,7 +1389,7 @@ var vm = new Vue({
}
// 7.关于起始位置提示
- if(data.starts.length < 1){
+ if(data.starts.length < 1 && data.nodeInfo.nodeRoom != null){
data.cabStartTitle = "<@spring.message 'node.notEnough.position'/>";
}else{
data.cabStartTitle = "<@spring.message 'common.pleaseSelect'/>";
diff --git a/nezha-admin/src/main/resources/templates/modules/node/nodeInfo.html b/nezha-admin/src/main/resources/templates/modules/node/nodeInfo.html
index 470ff025..7f858c31 100644
--- a/nezha-admin/src/main/resources/templates/modules/node/nodeInfo.html
+++ b/nezha-admin/src/main/resources/templates/modules/node/nodeInfo.html
@@ -184,7 +184,7 @@
v-model.trim="$v.nodeInfo.uSize.$model"
placeholder="<@spring.message 'node.uSize'/>(U)"/>
<span class="add-box2-required-symbol"
- v-if="$v.nodeInfo.uSize.$dirty && !$v.nodeInfo.uSize.sizeRequired">*</span>
+ v-if="nodeInfo.nodeRoom != null">*</span><!--$v.nodeInfo.uSize.$dirty && !$v.nodeInfo.uSize.sizeRequired-->
<div class="form-control_error-msg"
v-if="$v.nodeInfo.uSize.$dirty && !$v.nodeInfo.uSize.minValue || !$v.nodeInfo.uSize.integer">
<@spring.message 'validate.common.positiveInteger'/>