Browse Source

modify wrong spelling visible

EthnaYeh 7 years ago
parent
commit
db0869046b

+ 1 - 1
src/store/getters.js

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

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

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

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

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

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

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

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

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

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

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