|
@@ -267,15 +267,26 @@ export default defineComponent({
|
|
|
</NButton>
|
|
|
)}
|
|
|
|
|
|
- {!(row.preStudentNum > 0) ? (
|
|
|
- <p
|
|
|
+ {/* <p
|
|
|
style={{ color: '#EA4132', cursor: 'pointer' }}
|
|
|
onClick={() => {
|
|
|
state.removeVisiable = true;
|
|
|
state.removeRow = row;
|
|
|
}}>
|
|
|
删除
|
|
|
- </p>
|
|
|
+ </p> */}
|
|
|
+ {!(row.preStudentNum > 0) ? (
|
|
|
+ <NButton
|
|
|
+ type="error"
|
|
|
+ color="#EA4132"
|
|
|
+ textColor="#EA4132"
|
|
|
+ text
|
|
|
+ onClick={() => {
|
|
|
+ state.removeVisiable = true;
|
|
|
+ state.removeRow = row;
|
|
|
+ }}>
|
|
|
+ 删除
|
|
|
+ </NButton>
|
|
|
) : null}
|
|
|
{row.imGroupId ? null : (
|
|
|
<NButton
|