free-fe-core-modules 0.0.32 → 0.0.33

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.
@@ -25,7 +25,7 @@
25
25
  <span
26
26
  v-if="Field.ReadOnly"
27
27
  class="col readonly"
28
- ref="readonlyContent"
28
+ :ref="readonlyContent"
29
29
  ></span>
30
30
  <tiny
31
31
  v-if="!Field.ReadOnly"
@@ -219,7 +219,9 @@ export default defineComponent({
219
219
 
220
220
  if (props.Field.ReadOnly) {
221
221
  watchEffect(() => {
222
- readonlyContent.value.innerHTML = fieldData.value;
222
+ if (readonlyContent.value) {
223
+ readonlyContent.value.innerHTML = fieldData.value;
224
+ }
223
225
  });
224
226
  }
225
227
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "free-fe-core-modules",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "main": "index.js",
5
5
  "repository": "https://github.com/freeeis/free-fe-core-modules.git",
6
6
  "author": "zhiquan",