mooho-base-admin-plus 2.4.55 → 2.4.57

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.4.55",
4
+ "version": "2.4.57",
5
5
  "author": "jinyifan <jinyifan@mooho.com.cn>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -24,7 +24,7 @@
24
24
  "screenfull": "^4.2.1",
25
25
  "sweetalert2": "^9.8.2",
26
26
  "view-ui-plus": "^1.0.0",
27
- "vue": "^3.3.4",
27
+ "vue": "3.4.4",
28
28
  "vue-i18n": "^9.1.9",
29
29
  "vue-router": "^4.0.14",
30
30
  "vuedraggable": "^4.1.0",
@@ -248,8 +248,8 @@
248
248
  <template v-else-if="column.controlType === 'TextArea'">
249
249
  <Input
250
250
  type="textarea"
251
- :model-value="parseFilterData(data, column.code)"
252
- @update:model-value="$event => setFilterData(data, column.code, $event)"
251
+ :model-value="parseFilterData(data, column)"
252
+ @update:model-value="$event => setFilterData(data, column, $event)"
253
253
  :style="{ width: column.controlWidth == null ? null : column.controlWidth + 'px' }"
254
254
  :rows="column.controlHeight / 20"
255
255
  :placeholder="column.description"
@@ -1028,7 +1028,7 @@
1028
1028
  });
1029
1029
 
1030
1030
  this.columns.forEach(column => {
1031
- column.name = this.getNameI18n(column);
1031
+ column.name = this.getNameI18n(column) + (column.isRequired ? ' <font color="red">*</font>' : '');
1032
1032
  column.fixed = column.isFixed ? 'left' : null;
1033
1033
  });
1034
1034
 
package/src/index.js CHANGED
@@ -150,7 +150,6 @@ const created = async (app, routes, files, componentFiles) => {
150
150
 
151
151
  // 注册组件
152
152
  Object.keys(components).forEach(key => {
153
- console.log('key', key);
154
153
  app.component(key, components[key]);
155
154
  });
156
155