doway-coms 1.1.100 → 1.2.1

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.
@@ -2,9 +2,13 @@
2
2
  <div class="d-control-container">
3
3
  <div class="d-control-label">
4
4
  {{ label
5
- }}<span v-if="rules && rules['required']" class="d-control-label-required"
5
+ }}
6
+ <span v-if="rules && rules['required']" class="d-control-label-required"
6
7
  >*</span
7
8
  >
9
+ <Tooltip :title="tooltip" v-if="tooltip" style="margin: 0 2px">
10
+ <img src="../../styles/icon/help.png" alt="" style="width: 14px">
11
+ </Tooltip>
8
12
  </div>
9
13
  <div class="d-control">
10
14
  <ValidationProvider
@@ -35,11 +39,15 @@
35
39
  import moment from 'moment'
36
40
  import { TimePicker } from 'ant-design-vue'
37
41
  import { ValidationProvider } from 'vee-validate'
42
+ import { Tooltip } from 'ant-design-vue'
43
+
38
44
  export default {
39
45
  name: 'BaseTime',
40
46
  components:{
41
47
  TimePicker,
42
- ValidationProvider
48
+ ValidationProvider,
49
+ Tooltip,
50
+
43
51
  },
44
52
  data() {
45
53
  return {
@@ -104,6 +112,12 @@
104
112
  default: function() {
105
113
  return ''
106
114
  }
115
+ },
116
+ tooltip: {
117
+ type: String,
118
+ default: function() {
119
+ return ''
120
+ }
107
121
  }
108
122
  },
109
123
  created() {},
Binary file