|
@@ -93,17 +93,9 @@ export default {
|
|
|
messageHandle(e) {
|
|
|
if (e.data.search("{") != -1) {
|
|
|
const redata = JSON.parse(e.data);
|
|
|
- console.log('redata')
|
|
|
- console.log(redata )
|
|
|
|
|
|
if (redata.CMD == "getStationInfo") {
|
|
|
this.siteList = redata.RESULT;
|
|
|
-
|
|
|
-
|
|
|
- console.log('this.getStationId')
|
|
|
- console.log(this.getStationId)
|
|
|
-
|
|
|
-
|
|
|
if (this.getStationId.length == 0) {
|
|
|
console.log("created走没有的逻辑");
|
|
|
// 初始化时,获取下拉列表的第一个值 放入store里
|