Parcourir la Source

modify wrong spelling visible

EthnaYeh il y a 7 ans
Parent
commit
db0869046b

+ 1 - 1
src/store/getters.js

@@ -4,6 +4,6 @@ const getters = {
4 4
   avatar: state => state.user.avatar,
5 5
   username: state => state.user.username,
6 6
   roles: state => state.user.roles,
7
-  visble: state => state.breadcrumb.visble
7
+  visible: state => state.breadcrumb.visible
8 8
 }
9 9
 export default getters

+ 5 - 5
src/store/modules/breadcrumb.js

@@ -1,15 +1,15 @@
1 1
 const breadcrumb = {
2 2
   state: {
3
-    visble: true
3
+    visible: true
4 4
   },
5 5
   mutations: {
6
-    SET_VISBLE: (state, visble) => {
7
-      state.visble = visble
6
+    SET_VISIBLE: (state, visible) => {
7
+      state.visible = visible
8 8
     }
9 9
   },
10 10
   actions: {
11
-    SetVisble({ commit }, visble) {
12
-      commit('SET_VISBLE', visble)
11
+    SetVisible({ commit }, visible) {
12
+      commit('SET_VISIBLE', visible)
13 13
     }
14 14
   }
15 15
 }

+ 4 - 4
src/views/gambleGameBucket/detail/index.vue

@@ -164,7 +164,7 @@ export default {
164 164
         this.roundOptions.push({ label: `第 ${i} 輪`, key: i })
165 165
       }
166 166
     })
167
-    this.SetVisble(false)
167
+    this.SetVisible(false)
168 168
     this.getList()
169 169
     fetchList({ page: 1, limit: 9999999999, chipsSort: 'DESC' }).then(response => {
170 170
       const { rows } = response.data
@@ -193,12 +193,12 @@ export default {
193 193
   },
194 194
   computed: {
195 195
     ...mapGetters([
196
-      'visble'
196
+      'visible'
197 197
     ])
198 198
   },
199 199
   methods: {
200 200
     ...mapActions([
201
-      'SetVisble'
201
+      'SetVisible'
202 202
     ]),
203 203
     getList() {
204 204
       this.listLoading = true
@@ -356,7 +356,7 @@ export default {
356 356
     }
357 357
   },
358 358
   destroyed() {
359
-    this.SetVisble(true)
359
+    this.SetVisible(true)
360 360
   }
361 361
 }
362 362
 </script>

+ 5 - 5
src/views/gambleGameBucket/index.vue

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
 <div class="app-container calendar-list-container">
3
-  <div class="app-container" v-show="visble">
3
+  <div class="app-container" v-show="visible">
4 4
     <el-table :data="list" v-loading.body="listLoading" element-loading-text="Loading" border fit highlight-current-row
5 5
       style="width: 100%">
6 6
       <el-table-column label="ID" align="center">
@@ -70,16 +70,16 @@ export default {
70 70
   },
71 71
   created() {
72 72
     this.getList()
73
-    this.SetVisble(true)
73
+    this.SetVisible(true)
74 74
   },
75 75
   computed: {
76 76
     ...mapGetters([
77
-      'visble'
77
+      'visible'
78 78
     ])
79 79
   },
80 80
   methods: {
81 81
     ...mapActions([
82
-      'SetVisble'
82
+      'SetVisible'
83 83
     ]),
84 84
     getList() {
85 85
       this.listLoading = true
@@ -94,7 +94,7 @@ export default {
94 94
       fetchGameBid(row).then(response => {
95 95
         this.temp.bidChips = response.data
96 96
       })
97
-      this.SetVisble(false)
97
+      this.SetVisible(false)
98 98
       this.bucket = this.temp
99 99
       // fetchMemberRecords(row).then(response => {
100 100
       //   console.log(response.data)

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

@@ -91,13 +91,13 @@ export default {
91 91
     }
92 92
   },
93 93
   created() {
94
-    this.SetVisble(false)
94
+    this.SetVisible(false)
95 95
     this.fetchData()
96 96
   },
97 97
   props: ['member'],
98 98
   methods: {
99 99
     ...mapActions([
100
-      'SetVisble'
100
+      'SetVisible'
101 101
     ]),
102 102
     fetchData() {
103 103
       this.listLoading = true
@@ -115,7 +115,7 @@ export default {
115 115
     }
116 116
   },
117 117
   destroyed() {
118
-    this.SetVisble(true)
118
+    this.SetVisible(true)
119 119
   }
120 120
 }
121 121
 </script>

+ 5 - 5
src/views/gambleMember/index.vue

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
 <div class="app-container calendar-list-container">
3
-  <div  v-show="visble">
3
+  <div  v-show="visible">
4 4
     <div class="app-container">
5 5
       <el-input @keyup.enter.native="handleFilter" style="width: 200px;" class="filter-item" placeholder="名稱" v-model="listQuery.name">
6 6
       </el-input>
@@ -126,17 +126,17 @@ export default {
126 126
     }
127 127
   },
128 128
   created() {
129
-    this.SetVisble(true)
129
+    this.SetVisible(true)
130 130
     this.getList()
131 131
   },
132 132
   computed: {
133 133
     ...mapGetters([
134
-      'visble'
134
+      'visible'
135 135
     ])
136 136
   },
137 137
   methods: {
138 138
     ...mapActions([
139
-      'SetVisble'
139
+      'SetVisible'
140 140
     ]),
141 141
     getList() {
142 142
       this.listLoading = true
@@ -212,7 +212,7 @@ export default {
212 212
     },
213 213
     handlePage(row) {
214 214
       const temp = Object.assign({}, row) // copy obj
215
-      this.SetVisble(false)
215
+      this.SetVisible(false)
216 216
       this.member = temp
217 217
     },
218 218
     handleFilter() {