摘要:
1.服务端 搁response中增加Access-Control-Allow-Origin:‘*’ eg: context.Response.AddHeader("Access-Control-Allow-Origin", "*"); 2.前端 同样发送ajax请求 $.ajax({ type:'m 阅读全文
摘要:
html: <div class="wrap"> <div class="content"> ............ </div> </div> <div class="footer"></div> css: html,body{height:100%;} .wrap{min-height: 10 阅读全文
摘要:
html: <div id="demo"> <button v-on:click="show = !show"> Toggle </button> <transition name="fade"> <p v-if="show">hello</p> </transition> </div> data: 阅读全文
摘要:
多行垂直居中 :display:table,不管文字是一行或者是多行,都可以垂直居中 水平垂直居中几种方式: 阅读全文
摘要:
html: <div class="title"> <div class="line"></div> <div class="text">ddd</div> <div class="line"></div> </div> css: .title{width:80%;display:flex;marg 阅读全文
摘要:
1.v-el和v-ref合并为一个属性:ref 原来:v-el:my-element 现在: ref="myElement", v-ref:my-component 变成了这样: ref="myComponent"。绑定在一般元素上时,ref 指DOM元素,绑定在组件上时,ref 为一组件实例。 访 阅读全文
摘要:
1.标签 阅读全文
摘要:
英文:(Introduction)中文:https://github.com/vuejs/vuex/issues/176(贡献者努力中) 阅读全文