@mixd-id/web-scaffold 0.1.230406173 → 0.1.230406174
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
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<label :class="$style.label">Aspect Ratio</label>
|
|
11
11
|
<div v-for="(_, idx) in viewTypes"
|
|
12
12
|
v-show="_.value === viewType">
|
|
13
|
-
<Dropdown v-model="
|
|
13
|
+
<Dropdown v-model="aspectRatio[idx]" @change="apply">
|
|
14
14
|
<option value="">Not Set</option>
|
|
15
15
|
<option :value="`${viewType}aspect-square`">Square</option>
|
|
16
16
|
<option :value="`${viewType}aspect-[2/1]`">2/1</option>
|
|
@@ -1050,10 +1050,10 @@ export default{
|
|
|
1050
1050
|
return this.item.props.height
|
|
1051
1051
|
},
|
|
1052
1052
|
|
|
1053
|
-
|
|
1054
|
-
if(!Array.isArray(this.item.props.
|
|
1055
|
-
this.item.props.
|
|
1056
|
-
return this.item.props.
|
|
1053
|
+
aspectRatio(){
|
|
1054
|
+
if(!Array.isArray(this.item.props.aspectRatio))
|
|
1055
|
+
this.item.props.aspectRatio = []
|
|
1056
|
+
return this.item.props.aspectRatio
|
|
1057
1057
|
},
|
|
1058
1058
|
|
|
1059
1059
|
left(){
|