diff --git a/examples/WebTrader/templates/index.html b/examples/WebTrader/templates/index.html
index 8584bd5d..52126b91 100644
--- a/examples/WebTrader/templates/index.html
+++ b/examples/WebTrader/templates/index.html
@@ -16,7 +16,7 @@
-
+
- 服务器连接:
+
socket服务器连接:
{{connection}}
@@ -987,7 +987,7 @@ new Vue({
let that = this,
positions = new Object();
socket.on("ePosition.", function(data) {
- positions[data.vtSymbol] = data
+ positions[data.vtPositionName] = data
that.position = Object.values(positions).reverse()
});
},
@@ -1064,4 +1064,4 @@ new Vue({
})
-