forked from opentiny/tiny-vue
fix(renderless): synchronize release code to dev (#954)
This commit is contained in:
parent
5d6c7a60ed
commit
61eaf29bc4
|
@ -109,7 +109,10 @@ export const setValue =
|
|||
}
|
||||
}
|
||||
} else {
|
||||
state.address = api.isIP6(props.type) ? new Array(8).fill({ value: '' }) : new Array(4).fill({ value: '' })
|
||||
const createValue = () => ({ value: '' })
|
||||
state.address = api.isIP6(props.type)
|
||||
? new Array(8).fill('').map(createValue)
|
||||
: new Array(4).fill('').map(createValue)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@ export default defineConfig([
|
|||
bundle: false,
|
||||
clean: true,
|
||||
outDir: 'dist/types',
|
||||
format: ['esm'],
|
||||
external: ['@opentiny/vue-icon', '@opentiny/vue-common'],
|
||||
dts: {
|
||||
only: true,
|
||||
|
|
Loading…
Reference in New Issue