luobisheng
2022-11-29 4641a877cd6a94e4d35dca7f7f14bc1443e2d2ad
src/views/systemSetting/platform/portalSetting/index.vue
@@ -1,7 +1,7 @@
<template>
    <div class="log">
        <header>
            <div clas="headerTitle">
            <div class="headerTitle">
                系统设置 >> 门户管理 > logo管理
            </div>
        </header>
@@ -119,8 +119,7 @@
                        url: 'sccg/system/portal/logo/add',
                        data: icon
                    }).then(res => {
                        console.log(res);
                        if (res.code == 200) {
                        if (res.code === 200) {
                            this.$axios({
                                method: 'get',
                                url: 'sccg/system/portal/logo/search',
@@ -135,21 +134,18 @@
                    })
                }
            } else {
                console.log(obj);
                // 发送请求
                this.$axios({
                    method: 'put',
                    url: 'sccg/system/portal/logo/update',
                    data: obj
                }).then(res => {
                    console.log(res);
                    this.$message({
                        message: res.message,
                        type: 'success'
                    })
                })
            }
            localStorage.removeItem('pic');
            window.location.href = '';
        }