@leevan/jtui 2.0.54-beta.1 → 2.0.54-beta.3

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@leevan/jtui",
3
- "version": "2.0.54-beta.1",
3
+ "version": "2.0.54-beta.3",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -143,6 +143,9 @@ export default {
143
143
  }
144
144
  },
145
145
  mounted() {
146
+ if (this.row && this.prop && !(this.prop in this.row)) {
147
+ this.$set(this.row, this.prop, this.value == null ? '' : this.value);
148
+ }
146
149
  this.$nextTick(() => {
147
150
  if (this.$refs.inputRef) {
148
151
  const input = this.$refs.inputRef.$el ? this.$refs.inputRef.$el.querySelector('input') : this.$refs.inputRef;