cloud-web-corejs 1.0.211 → 1.0.213

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,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.211",
4
+ "version": "1.0.213",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -12,7 +12,7 @@
12
12
  :command="item"
13
13
  :key="index"
14
14
  >
15
- {{ item.etName }}
15
+ {{ $t1(item.etName) }}
16
16
  </el-dropdown-item>
17
17
  <el-dropdown-item
18
18
  v-else-if="printTypes.includes(item.etType)"
@@ -20,7 +20,7 @@
20
20
  :command="item"
21
21
  :key="index"
22
22
  >
23
- {{ item.etName }}
23
+ {{ $t1(item.etName) }}
24
24
  </el-dropdown-item>
25
25
  </template>
26
26
  </el-dropdown-menu>
@@ -140,7 +140,8 @@ export default {
140
140
  this.currentRow = item;
141
141
  this.handleRead(index)
142
142
  },
143
- handleRead(index, callback) {
143
+ handleRead(index, callback) {
144
+ if(this.page.records.length <= index)return
144
145
  let row = this.page.records[index];
145
146
  if (row.readed !== 1) {
146
147
  this.$http({