Browse Source

组件调整

qymljy 6 months ago
parent
commit
4d35af864b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/components/dialogTemplate/index2.vue

+ 2 - 1
src/components/dialogTemplate/index2.vue

@@ -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