From 67f0ca96522805b450933fb669383e1ed028d1bf Mon Sep 17 00:00:00 2001 From: liuqiang Date: Mon, 17 Aug 2020 14:48:25 +0800 Subject: [PATCH 1/5] support new governance method: setFeePercentage --- package.json | 2 +- .../NodeManagement/NodeStakeAuthorization.vue | 53 ++-- src/lang/en.js | 237 +++++++++--------- src/lang/zh.js | 235 ++++++++--------- src/store/modules/NodeAuthorization.js | 10 +- yarn.lock | 8 +- 6 files changed, 287 insertions(+), 258 deletions(-) diff --git a/package.json b/package.json index 0c49c20..51ca39a 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "nedb": "^1.8.0", "node-hid": "^1.3.0", "numeral": "^2.0.6", - "ontology-ts-sdk": "^1.1.9", + "ontology-ts-sdk": "^1.1.10-alpha.1", "opn": "^5.4.0", "popper.js": "^1.14.3", "usb": "^1.6.3", diff --git a/src/components/Node/NodeManagement/NodeStakeAuthorization.vue b/src/components/Node/NodeManagement/NodeStakeAuthorization.vue index 7380e19..e533aba 100644 --- a/src/components/Node/NodeManagement/NodeStakeAuthorization.vue +++ b/src/components/Node/NodeManagement/NodeStakeAuthorization.vue @@ -119,6 +119,7 @@ } .node-reward-proportion { margin-top:10px; + margin-right: 10px; float:left; } .node-reward-proportion p { @@ -126,7 +127,10 @@ } .edit-proportion-btn { margin-top: 10px; - margin-left: 20px; +} +.h-spacer { + display: inline-block; + width: 10px; }