qymljy 6 ヶ月 前
コミット
4d35af864b
1 ファイル変更2 行追加1 行削除
  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