Unknown 7 lat temu
rodzic
commit
920b05f159
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      src/views/room/gambleMember/index.vue

+ 3 - 3
src/views/room/gambleMember/index.vue

51
       </el-pagination>
51
       </el-pagination>
52
     </div>
52
     </div>
53
 
53
 
54
-    <el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible" :before-close="handleClose" center>
54
+    <el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible" :before-close="handleDialogClose" center>
55
       <el-tabs v-model="activeName" @tab-click="handleClick">
55
       <el-tabs v-model="activeName" @tab-click="handleClick">
56
         <el-tab-pane label="上下分" name="deposit">
56
         <el-tab-pane label="上下分" name="deposit">
57
           <el-form :rules="rules" ref="dataForm" :model="temp" label-position="left" label-width="100px" style='width: 400px; margin-left:50px;'>
57
           <el-form :rules="rules" ref="dataForm" :model="temp" label-position="left" label-width="100px" style='width: 400px; margin-left:50px;'>
88
       </el-tabs>
88
       </el-tabs>
89
 
89
 
90
       <div slot="footer" class="dialog-footer">
90
       <div slot="footer" class="dialog-footer">
91
-        <el-button @click="dialogFormVisible = false">取 消</el-button>
91
+        <el-button @click="handleDialogClose">取 消</el-button>
92
         <el-button v-if="dialogStatus=='reward'" type="primary" @click="rewardChips">確 定</el-button>
92
         <el-button v-if="dialogStatus=='reward'" type="primary" @click="rewardChips">確 定</el-button>
93
         <el-button v-if="dialogStatus=='deposit'" type="primary" @click="depositChips">確 定</el-button>
93
         <el-button v-if="dialogStatus=='deposit'" type="primary" @click="depositChips">確 定</el-button>
94
       </div>
94
       </div>
260
     handleClick(tab, event) {
260
     handleClick(tab, event) {
261
       this.dialogStatus = tab.name;
261
       this.dialogStatus = tab.name;
262
     },
262
     },
263
-    handleClose() {
263
+    handleDialogClose() {
264
       this.activeName = 'deposit';
264
       this.activeName = 'deposit';
265
       this.dialogFormVisible = false;
265
       this.dialogFormVisible = false;
266
     },
266
     },