@@ -13,7 +13,7 @@
<script>
export default {
- name: "index1",
+ name: "index2",
props:["btnTitle","disabled","btnType","content",'dialogTitle'],
data(){
return {
@@ -23,6 +23,7 @@ export default {
methods:{
dialogShow(){
this.dialogTableVisible = true
+ this.$emit('dialogShow')
},
onCancel(){
this.dialogTableVisible = false