diff --git a/src/assets/js/navTools.js b/src/assets/js/navTools.js index bd7a91f..9864d3d 100644 --- a/src/assets/js/navTools.js +++ b/src/assets/js/navTools.js @@ -23,8 +23,8 @@ let navTools = { title: '比例计算', desc: '按设定的比例计算给出的数值所对应的数值。', component: 'CalcRatio', - update: '2021-11-14', - version: '1', + update: '2021-11-16', + version: '2', enabled: true }, 'simple': { @@ -125,8 +125,8 @@ let navTools = { title: 'WebSocket', desc: 'WebSocket 测试工具', component: 'OtherWebSocket', - update: '2021-11-14', - version: '3', + update: '2021-11-19', + version: '4', enabled: true }, } diff --git a/src/components/tools/CalcRatio.vue b/src/components/tools/CalcRatio.vue index 8ba2505..fecce7e 100644 --- a/src/components/tools/CalcRatio.vue +++ b/src/components/tools/CalcRatio.vue @@ -11,11 +11,11 @@ -
+
小数位数
: @@ -42,7 +45,10 @@ v-model="base.b" controls-position="right" size="small" + :min="limit.min" + :max="limit.max" :step="1" + step-strictly @change="update()" >
@@ -75,7 +81,7 @@ diff --git a/src/components/tools/OtherWebSocket.vue b/src/components/tools/OtherWebSocket.vue index fc7416d..1b97b6b 100644 --- a/src/components/tools/OtherWebSocket.vue +++ b/src/components/tools/OtherWebSocket.vue @@ -1,6 +1,15 @@