unika-components 1.2.1 → 1.2.2

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.
@@ -1564,6 +1564,7 @@ var script$l = defineComponent({
1564
1564
  });
1565
1565
  // 容器样式
1566
1566
  const containerStyle = computed(() => ({
1567
+ position: props.element?.css?.position || 'absolute',
1567
1568
  left: px2rem(props.element.css.left),
1568
1569
  top: px2rem(props.element.css.top),
1569
1570
  width: px2rem(props.element.css.width),
@@ -1571,6 +1571,7 @@
1571
1571
  });
1572
1572
  // 容器样式
1573
1573
  const containerStyle = vue.computed(() => ({
1574
+ position: props.element?.css?.position || 'absolute',
1574
1575
  left: px2rem(props.element.css.left),
1575
1576
  top: px2rem(props.element.css.top),
1576
1577
  width: px2rem(props.element.css.width),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",