@tongfun/tf-widget 0.1.25 → 0.1.26

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.
@@ -117,14 +117,6 @@ export default {
117
117
  }
118
118
  }
119
119
  },
120
- created () {
121
- if (this.entity) {
122
- this.$nextTick(() => {
123
- this.$refs.basic.focus()
124
- })
125
- }
126
- // this.getTableLayout()
127
- },
128
120
  methods: {
129
121
  /**
130
122
  * 弹窗和数据选择
@@ -56,11 +56,6 @@ export default {
56
56
  return this.placeholder
57
57
  }
58
58
  },
59
- mounted () {
60
- if (this.entity) {
61
- this.$refs.date.focus()
62
- }
63
- },
64
59
  created () {
65
60
  if (!this.value) {
66
61
  this.handleInput(null)
@@ -48,11 +48,6 @@ export default {
48
48
  this.handleInput(null)
49
49
  }
50
50
  },
51
- mounted () {
52
- if (this.entity) {
53
- this.$refs.input.focus()
54
- }
55
- },
56
51
  methods: {
57
52
  handleInput (value) {
58
53
  this.$emit('input', value)
@@ -35,9 +35,6 @@ export default {
35
35
 
36
36
  }
37
37
  },
38
- mounted () {
39
- this.entity && this.$refs.number.focus()
40
- },
41
38
  created () {
42
39
  if (!this.value) {
43
40
  const initValue = this.defaultValue || null
@@ -15,9 +15,6 @@
15
15
  <script>
16
16
  import { getEnumOptions } from '@/api/edit.js'
17
17
  export default {
18
- components: {
19
-
20
- },
21
18
  props: {
22
19
  value: {
23
20
  type: Object,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tongfun/tf-widget",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "description": "tf-widget",
5
5
  "main": "lib/tf-widget.umd.js",
6
6
  "private": false,