Commit 2dbe12bc authored by wxk's avatar wxk

引入依赖md5

parent 9eae1d2e
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -12,6 +12,7 @@
"dependencies": {
"axios": "^0.18.0",
"element-ui": "^2.4.1",
"md5": "^2.2.1",
"vue": "^2.5.2",
"vue-router": "^3.0.1"
},
......
......@@ -99,6 +99,7 @@ const regEmail2 = /^[a-z0-9]+([._\\-]*[a-z0-9])*@disanbo.com+$/;
const regPwd = /[a-zA-Z0-9_]{8,16}/;
const TIME_COUNT = 60;
import axios from 'axios';
import md5 from 'md5'
import ApiConfig from "../config/api-config";
export default {
data(){
......@@ -124,7 +125,6 @@ export default {
},
mounted(){
//加载存储的数据
this.loginBody.email = localStorage["username"];
this.loginBody.password = localStorage["password"];
......
......@@ -91,7 +91,7 @@
</p>
<p class="item">
<span class="type-name">比例</span>
<span :class="robotInfo.coin_status">{{robotInfo.coin_percent*100+'%'}}(总量/标准)</span>
<span :class="robotInfo.coin_status">{{robotInfo.coin_percent}}(总量/标准)</span>
</p>
</div>
<div class="handle-content" v-loading="Loading" element-loading-text="正在刷新数据">
......@@ -118,7 +118,7 @@
</p>
<p class="item">
<span class="type-name">比例</span>
<span :class="robotInfo.base_status">{{robotInfo.base_percent*100+'%'}}(总量/标准)</span>
<span :class="robotInfo.base_status">{{robotInfo.base_percent}}(总量/标准)</span>
</p>
</div>
<!-- 充币弹框 -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment