vant/es/vant-image处理测试环境问题

This commit is contained in:
liyuetong
2021-09-18 14:08:55 +08:00
parent f55675c720
commit d640c9ce5a
3 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@@ -1,5 +1,6 @@
node_modules
dist
package-lock.json
.eslintrc.js
.prettierrc

View File

@@ -23,7 +23,7 @@
</div>
</template>
<script>
import { Icon, Image as VanImage } from 'vant'
import { Icon, Image } from 'vant'
export default {
name: 'IndexBar',
@@ -54,7 +54,7 @@ export default {
},
components: {
[Icon.name]: Icon,
[VanImage.name]: VanImage
[Image.name]: Image
},
data() {
return {

View File

@@ -23,7 +23,7 @@
</div>
</template>
<script>
import { Icon, Image as VanImage } from 'vant'
import { Icon, Image } from 'vant'
export default {
name: 'IndexBar',
@@ -54,7 +54,7 @@ export default {
},
components: {
[Icon.name]: Icon,
[VanImage.name]: VanImage
[Image.name]: Image
},
data() {
return {