winfed
2023-06-09 1bdc0621b838a63fce090daaac33ad0f19763e28
feat:删除拉流代理时,提示是否确认删除,防止误删
1个文件已修改
7 ■■■■■ 已修改文件
web_src/src/components/StreamProxyList.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
web_src/src/components/StreamProxyList.vue
@@ -245,6 +245,11 @@
            },
            deleteStreamProxy: function(row){
                let that = this;
        this.$confirm('确定删除此代理吗?', '提示', {
          confirmButtonText: '确定',
          cancelButtonText: '取消',
          type: 'warning'
        }).then(() => {
                that.$axios({
                    method:"delete",
                    url:"/api/proxy/del",
@@ -257,6 +262,8 @@
                }).catch(function (error) {
                    console.log(error);
                });
        }).catch(() => {
        });
            },
            start: function(row){
        this.stopUpdateList()