From ab13017117b18427bb5ee687c9a1b3fd5a94f2ae Mon Sep 17 00:00:00 2001
From: panlinlin <648540858@qq.com>
Date: 星期二, 20 四月 2021 17:20:01 +0800
Subject: [PATCH] 处理空指针

---
 web_src/src/components/dialog/StreamProxyEdit.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/web_src/src/components/dialog/StreamProxyEdit.vue b/web_src/src/components/dialog/StreamProxyEdit.vue
index b0ea10e..d849ec6 100644
--- a/web_src/src/components/dialog/StreamProxyEdit.vue
+++ b/web_src/src/components/dialog/StreamProxyEdit.vue
@@ -62,14 +62,14 @@
                   <el-checkbox label="杞琀LS" v-model="proxyParam.enable_hls" ></el-checkbox>
                   <el-checkbox label="MP4褰曞埗" v-model="proxyParam.enable_mp4" ></el-checkbox>
                 </div>
-                
+
               </el-form-item>
               <el-form-item>
                 <div style="float: right;">
                   <el-button type="primary" @click="onSubmit">{{onSubmit_text}}</el-button>
                   <el-button @click="close">鍙栨秷</el-button>
                 </div>
-                
+
               </el-form-item>
             </el-form>
       </div>
@@ -110,7 +110,7 @@
           type: "default",
           app: null,
           stream: null,
-          url: "rtmp://58.200.131.2:1935/livetv/hunantv",
+          url: "rtmp://58.200.131.2/livetv/cctv5hd",
           src_url: null,
           timeout_ms: null,
           ffmpeg_cmd_key: null,
@@ -120,7 +120,7 @@
           enable_hls: true,
           enable_mp4: false,
       },
-      
+
       rules: {
         name: [{ required: true, message: "璇疯緭鍏ュ悕绉�", trigger: "blur" }],
         app: [{ required: true, message: "璇疯緭鍏ュ簲鐢ㄥ悕", trigger: "blur" }],
@@ -148,7 +148,7 @@
       var that = this;
       that.$axios({
         method: 'post',
-        url:`/api/proxy/save`, 
+        url:`/api/proxy/save`,
         data: that.proxyParam
       }).then(function (res) {
           console.log(res);

--
Gitblit v1.8.0