mooho-base-admin-plus 2.0.6 → 2.0.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.0.6",
4
+ "version": "2.0.7",
5
5
  "author": "jinyifan <jinyifan@mooho.com.cn>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -14,7 +14,9 @@
14
14
  <slot name="column" :filter="data" :column="column" :code="column.code"></slot>
15
15
  </template>
16
16
  <template v-else-if="column.controlType === 'Label'">
17
- <div v-html="showData(data, column)"></div>
17
+ <div class="label">
18
+ <div>{{ showData(data, column) }}</div>
19
+ </div>
18
20
  </template>
19
21
  <template v-else-if="column.controlType === 'TextInput'">
20
22
  <Input
@@ -439,9 +439,7 @@
439
439
  :placeholder="column.description"
440
440
  />
441
441
  </template>
442
- <Tooltip v-if="!!(column.tooltip || '').trim()" :content="column.tooltip" max-width="400" :transfer="true">
443
- <Button type="primary" style="margin-left: 4px" size="small" shape="circle" icon="md-help"></Button>
444
- </Tooltip>
442
+ <Button type="primary" v-if="!!(column.tooltip || '').trim()" style="margin-left: 4px" size="small" :title="column.tooltip" shape="circle" icon="md-help"></Button>
445
443
  </FormItem>
446
444
  </Col>
447
445
  </template>
@@ -2019,8 +2019,6 @@
2019
2019
  if (!this.filterDisable) {
2020
2020
  let filter = this.filter;
2021
2021
 
2022
- console.log('filter', filter);
2023
-
2024
2022
  for (let key in filter) {
2025
2023
  let column = key;
2026
2024
  let value = filter[key];
@@ -235,7 +235,7 @@ export default {
235
235
 
236
236
  if (dataType.indexOf('Enum:') === 0) {
237
237
  return this.getEnum(dataType.replace('Enum:', ''), this.parseData(model, expression));
238
- } else if (dataType === 'BigInteger') {
238
+ } else if (dataType === 'BigInteger' && format == 'User') {
239
239
  return this.getUserName(this.parseData(model, expression));
240
240
  }
241
241
 
@@ -246,6 +246,11 @@
246
246
  margin-bottom: 0px;
247
247
  }
248
248
 
249
+ .filter .ivu-form-item-content .label {
250
+ line-height: 24px;
251
+ min-height: 24px;
252
+ }
253
+
249
254
  .filter .ivu-input-group {
250
255
  display: inline-table;
251
256
  }