fix:还原工作组件
This commit is contained in:
@@ -141,16 +141,6 @@
|
||||
<span class="text-ellipsis" v-else> - </span>
|
||||
</span>
|
||||
</template>
|
||||
<!-- 添加关闭按钮 -->
|
||||
<template v-if="data.column.dataIndex === 'isUse'">
|
||||
<a-switch
|
||||
v-model:checked="data.record.isUse"
|
||||
:class="{
|
||||
'blue-background': data.record.isUse,
|
||||
'grey-background': !data.record.isUse,
|
||||
}"
|
||||
@click="clickSwitch({ isUse: data.record.isUse, record: data.record })" />
|
||||
</template>
|
||||
<template v-if="data.column.dataIndex === 'tableAction'">
|
||||
<ns-table-action
|
||||
:data="data.record"
|
||||
@@ -360,10 +350,6 @@
|
||||
page: 1,
|
||||
});
|
||||
}, 300);
|
||||
/* 点击开关按钮 */
|
||||
const clickSwitch = (data: object) => {
|
||||
emit('switch', data);
|
||||
};
|
||||
|
||||
function setLoading(loading: boolean) {
|
||||
tableState.loading = loading;
|
||||
@@ -647,7 +633,6 @@
|
||||
tableState,
|
||||
isEmpty,
|
||||
formFinish,
|
||||
clickSwitch,
|
||||
tableChangeEvent,
|
||||
treeSelect,
|
||||
getTreeBindValue,
|
||||
|
Reference in New Issue
Block a user