cax-svg - rename cax to cax-element

This commit is contained in:
dntzhang 2019-04-10 19:03:47 +08:00
parent b605ba57bd
commit 46f5ceab1a
4 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
{
"usingComponents": {
"cax":"../../cax/index"
"cax-element":"../../cax/index"
}
}

View File

@ -1,4 +1,4 @@
<!--index.wxml-->
<view class="container">
<cax id="myCanvas"></cax>
<cax-element id="myCanvas"></cax-element>
</view>

View File

@ -1,5 +1,5 @@
{
"usingComponents": {
"cax":"../../cax/index"
"cax-element":"../../cax/index"
}
}

View File

@ -1,5 +1,5 @@
<!--index.wxml-->
<view class="container">
<cax id="svg-a"></cax>
<cax id="svg-b"></cax>
<cax-element id="svg-a"></cax-element>
<cax-element id="svg-b"></cax-element>
</view>