askbot-dragon 1.7.56-beta → 1.7.57-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "1.7.56-beta",
3
+ "version": "1.7.57-beta",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -14,29 +14,18 @@
14
14
  "@vue/cli-plugin-eslint": "~4.5.0",
15
15
  "@vue/cli-service": "~4.5.0",
16
16
  "audio-loader": "^1.0.3",
17
- "babel-eslint": "^10.1.0",
18
17
  "core-js": "^3.6.5",
19
- "element-ui": "^2.15.10",
20
- "eslint": "^6.7.2",
21
- "eslint-plugin-vue": "^6.2.2",
22
18
  "install": "^0.13.0",
23
19
  "jquery": "^3.5.1",
24
- "less": "^3.12.2",
25
- "less-loader": "^7.0.2",
26
20
  "lodash": "^4.17.21",
27
21
  "uuid": "^8.3.2",
28
22
  "v-viewer": "^1.6.4",
29
23
  "vant": "^2.12.51",
30
24
  "vconsole": "^3.9.1",
31
25
  "vue": "^2.6.11",
32
- "vue-i18n": "^8.26.4",
33
26
  "vue-resource": "^1.5.1",
34
- "vue-template-compiler": "^2.6.11",
35
27
  "vue-video-player": "^5.0.2",
36
28
  "weixin-js-sdk": "^1.6.0",
37
- "@vue/cli-plugin-babel": "~4.5.0",
38
- "@vue/cli-plugin-eslint": "~4.5.0",
39
- "@vue/cli-service": "~4.5.0",
40
29
  "babel-eslint": "^10.1.0",
41
30
  "element-ui": "^2.15.10",
42
31
  "eslint": "^6.7.2",
@@ -118,13 +118,13 @@ export default {
118
118
  this.rowDataList.push(obj);
119
119
  }
120
120
  this.$nextTick(() => {
121
- this.setRowColor();
121
+ this.setRowColor('first');
122
122
  })
123
123
  },
124
124
  getRowKey(row){
125
125
  return row.id
126
126
  },
127
- setRowColor(){
127
+ setRowColor(type){
128
128
  this.tableChunkData.forEach((item,index) => {
129
129
  const colorIndex = index % this.colors.length;
130
130
  let id = item.tableChunkId;
@@ -136,7 +136,7 @@ export default {
136
136
  })
137
137
  }
138
138
  })
139
- if (this.tableChunkData.length > 0){
139
+ if (this.tableChunkData.length > 0 && type === 'first'){
140
140
  this.scrollToRow(this.tableChunkData[0].tableChunkId)
141
141
  }
142
142
  },