web_src/src/components/StreamProxyList.vue
@@ -66,6 +66,14 @@
                  </div>
                  </template>
               </el-table-column>
               <el-table-column label="无人观看自动删除" width="160" align="center">
                  <template slot-scope="scope">
                  <div slot="reference" class="name-wrapper">
                     <el-tag size="medium" v-if="scope.row.enable_remove_none_reader">已启用</el-tag>
                     <el-tag size="medium" type="info" v-if="!scope.row.enable_remove_none_reader">未启用</el-tag>
                  </div>
                  </template>
               </el-table-column>
               <el-table-column label="操作" width="360" align="center" fixed="right">
@@ -211,10 +219,19 @@
               }
            }).then(function (res) {
               that.getListLoading = false;
               that.$refs.devicePlayer.openDialog("streamPlay", null, null, {
                        streamInfo: res.data,
                        hasAudio: true
                    });
               if (res.data.code === 0) {
            that.$refs.devicePlayer.openDialog("streamPlay", null, null, {
              streamInfo: res.data.data,
              hasAudio: true
            });
          }else {
            that.$message({
              showClose: true,
              message: "获取地址失败:" + res.data.msg,
              type: "error",
            });
          }
            }).catch(function (error) {
               console.log(error);
               that.getListLoading = false;