Commit 7a874ed8 by halweg

banner添加store view

parent 6c1bcd8e
...@@ -112,6 +112,34 @@ ...@@ -112,6 +112,34 @@
</field> </field>
<field name="storeviews" formElement="multiselect" class="Magento\Store\Ui\Component\Form\Field\StoreView">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="source" xsi:type="string">block</item>
<item name="default" xsi:type="number">0</item>
</item>
</argument>
<settings>
<validation>
<rule name="required-entry" xsi:type="boolean">true</rule>
</validation>
<dataType>int</dataType>
<tooltip>
<link>https://docs.magento.com/user-guide/configuration/scope.html</link>
<description>What is this?</description>
</tooltip>
<label translate="true">Store View</label>
<dataScope>store_id</dataScope>
</settings>
<formElements>
<multiselect>
<settings>
<options class="Magento\Cms\Ui\Component\Listing\Column\Cms\Options"/>
</settings>
</multiselect>
</formElements>
</field>
<field name="url" sortOrder="30" formElement="input"> <field name="url" sortOrder="30" formElement="input">
<argument name="data" xsi:type="array"> <argument name="data" xsi:type="array">
...@@ -195,4 +223,6 @@ ...@@ -195,4 +223,6 @@
</fieldset> </fieldset>
</form> </form>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment