SZH
2022-11-02 3fea4c6a262e3d5953f8cd528e12dda7eae6e3c9
src/views/intellectInspect/intelligentLine/index.vue
@@ -151,6 +151,7 @@
                    alert('您的浏览器不支持socket');
                } else {
                    // 实例化socket
                    debugger
                    let uid =  userInfos.value.uid.toString()
                    var url = state.path + uid + '*' + id;
                    console.log(url,'url',uid,'uid')
@@ -186,6 +187,7 @@
        // 接口获取数据
        const getLine = async (id:string) => {
            debugger
            let res = await lineApi().getLine({ id: id });
            if (res.data.code === '200') {
                userInfos.value.dataList = res.data.data;
@@ -1004,9 +1006,10 @@
                display: flex;
                justify-content: center;
                align-items: flex-start;
                overflow: hidden;
                overflow-x: auto;
                overflow-y: auto;
                overflow: auto;
                &::-webkit-scrollbar { width: 0; height: 0; color: transparent; }
                &::scrollbar { width: 0; height: 0; color: transparent; }
            }
            .line-map {