luobisheng
2022-11-24 41a2ddabb399c51821ccd606736d4e4c403c4238
src/views/operate/message/mycontrol/index.vue
@@ -69,7 +69,6 @@
            tableData: [],
            dialogCreate: false,
            dialogEdit:false,
            totalNum: null,
            pageSize: 10,
            currentPage: 1,
            all: false,
@@ -130,13 +129,12 @@
                })
        },
        // 修改栏目状态
        handleChangeStatus({ id, status }) {
            status === true ? status = 1 : status = 0;
        handleChangeStatus({ id, isShow }) {
            this.$axios({
                method: 'post',
                url: `sccg/message_column/update/${id}`,
                data: {
                    isShow: status,
                    isShow: Number(isShow),
                }
            })
                .then(res => {
@@ -163,7 +161,6 @@
        // 设置表格数据
        async setTableData() {
            this.tableData = await this.getColumnList();
            this.totalNum = this.tableData.length;
        },
        // 下拉框监听
        async selectChange(list) {