You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
407 B
21 lines
407 B
<template>
|
|
<el-button type="text" :disabled="disabledEdit" icon="edit" @click="crud.toEdit(data)">
|
|
修改
|
|
</el-button>
|
|
</template>
|
|
<script>
|
|
import { crud } from '@/components/Crud/crud'
|
|
export default {
|
|
mixins: [crud()],
|
|
props: {
|
|
data: {
|
|
type: Object,
|
|
required: true
|
|
},
|
|
disabledEdit: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|