mooho-base-admin-plus 2.5.6 → 2.5.7

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": "mooho-base-admin-plus",
3
3
  "description": "MOOHO basic framework for admin by Vue3",
4
- "version": "2.5.6",
4
+ "version": "2.5.7",
5
5
  "author": "jinyifan <jinyifan@mooho.com.cn>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@fortawesome/fontawesome-free": "^5.13.0",
17
- "axios": "^0.26.0",
17
+ "axios": "^1.6.7",
18
18
  "ckeditor4-integrations-common": "^1.0.0",
19
19
  "date-fns": "^2.9.0",
20
20
  "echarts": "^5.3.2",
@@ -957,9 +957,24 @@
957
957
  // 筛选条件数据
958
958
  filterData() {
959
959
  return this.$refs.tableFilter ? this.$refs.tableFilter.data : null;
960
+ },
961
+ labelSn() {
962
+ return this.$t('Front_Label_Sn');
960
963
  }
961
964
  },
962
965
  watch: {
966
+ labelSn() {
967
+ // 解决序号来不及加载的问题
968
+ if (this.$t('Front_Label_Sn') != 'Front_Label_Sn') {
969
+ if (this.tableView.snEnable) {
970
+ this.columns
971
+ .filter(item => item.slot == 'sn')
972
+ .forEach(item => {
973
+ item.title = this.$t('Front_Label_Sn');
974
+ });
975
+ }
976
+ }
977
+ }
963
978
  // value() {
964
979
  // if (this.embedded) {
965
980
  // this.loadData(this.value);