fix webtrader bug
1.fix issue#763 2.fix issue#753 3.fix issue#741
This commit is contained in:
parent
065c96bbcd
commit
42c3686cab
@ -16,7 +16,7 @@
|
|||||||
<el-input v-model="loginForm.user" auto-complete="off"></el-input>
|
<el-input v-model="loginForm.user" auto-complete="off"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="密码" :label-width="formLabelWidth">
|
<el-form-item label="密码" :label-width="formLabelWidth">
|
||||||
<el-input v-model="loginForm.pwd" auto-complete="off"></el-input>
|
<el-input v-model="loginForm.pwd" auto-complete="off" type="password"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
@ -103,7 +103,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row class="body-left__connection">
|
<el-row class="body-left__connection">
|
||||||
<div>服务器连接:
|
<div>socket服务器连接:
|
||||||
<p>{{connection}}</p>
|
<p>{{connection}}</p>
|
||||||
</div>
|
</div>
|
||||||
</el-row>
|
</el-row>
|
||||||
@ -987,7 +987,7 @@ new Vue({
|
|||||||
let that = this,
|
let that = this,
|
||||||
positions = new Object();
|
positions = new Object();
|
||||||
socket.on("ePosition.", function(data) {
|
socket.on("ePosition.", function(data) {
|
||||||
positions[data.vtSymbol] = data
|
positions[data.vtPositionName] = data
|
||||||
that.position = Object.values(positions).reverse()
|
that.position = Object.values(positions).reverse()
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -1064,4 +1064,4 @@ new Vue({
|
|||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user