
vue
漫步星空ZL
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
vue打包完后Nginx代理(解决vue打包后跨域问题)
vue index.js文件源码'use strict'// Template version: 1.2.7// see http://vuejs-templates.github.io/webpack for documentation.const path = require('path')module.exports = { dev: { // Paths assetsSubD...原创 2018-04-20 00:08:02 · 36836 阅读 · 9 评论 -
vue父组件调用子组件方法
方法为:this.$children返回的是一个子组件数组对象例子:this.$children[1]._changeSet(2); 说明:调用第二个组件的_changeSet方法原创 2018-06-21 11:09:23 · 669 阅读 · 0 评论 -
vue中 keep-alive 结合 transition 使用(已解决)
<div> <transition :name="transitionName" > <keep-alive > <router-view :class="homeClass?'child-view ss-keep':'child-view1 ss-keep'" v-if="$route.meta.keepAlive"></router-...原创 2019-05-10 18:59:22 · 7822 阅读 · 2 评论