Ver Fonte

组件调整

qymljy há 6 meses atrás
pai
commit
4d35af864b
1 ficheiros alterados com 2 adições e 1 exclusões
  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