free-fe-core-modules 0.1.7 → 0.1.8

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.
@@ -139,9 +139,9 @@ export default defineComponent({
139
139
  class: 'prefix',
140
140
  }, props.Field.Options?.Prefix));
141
141
 
142
- const append = slots.append ? slots.append() : (props.Field.Options?.Postfix && h('span',{
142
+ const append = slots.append ? slots.append() : (props.Field.Options?.Postfix ? () => h('span',{
143
143
  class: 'postfix',
144
- }, props.Field.Options?.Postfix));
144
+ }, props.Field.Options?.Postfix) : undefined);
145
145
 
146
146
  const mask = computed(() => {
147
147
  if (!props.Field?.Options) return undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "free-fe-core-modules",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "main": "index.js",
5
5
  "repository": "https://github.com/freeeis/free-fe-core-modules.git",
6
6
  "author": "zhiquan",