- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 Vue+MySQL+Express+Node 实现前端js和服务器交互
Vue+MySQL+Express+Node 实现前端js和服务器交互 安装node node官网地址:https://nodejs.org/en/ 直接选择对应的版本安装就可以了。 查看是否安装成功 node -v npm -v cnpm -v 安装cnpm (使用npm安装依赖模块可能会很慢,建议换成 cnpm) <!-- -g表示全局安装 --> npm install -g cnpm --registry=http://registry.npm.taobao.org 安装vue-cl
2021-04-30 11:16:39
1816
原创 form表单提交数据 出现 Uncaught TypeError: Illegal invocation(非法访问)
form表单提交数据 出现 Uncaught TypeError: Illegal invocation(非法访问) 例如: var formData=new FormData($(".please")[0]); $.ajax({ type:“post”, url:order_url+’/web/user/getInvitationCode’, data:formData, success:fun...
2019-01-18 16:49:10
1780
翻译 代替iframe 标签实现页面引入另一个页面
js代码 var src="引入页面的url"; $.get(src,function(data){ $("当前页面要显示引入页面的id或者class").html(data); });
2018-09-05 18:13:05
12121
4
翻译 vue 引入粒子星空插件
1.安装依赖 npm install vue-particles --save-dev 2.main.js引入 import Vue from 'vue' import VueParticles from 'vue-particles' Vue.use(VueParticles) 3.项目中添加 <vue-particles color="#dedede" ...
2018-08-08 18:32:15
3248
2
翻译 vue + swiper 实现图片轮播
1.安装swiper npm install swiper@3.4.1 –save-dev 2.在组件中引用 swiper import Swiper from ‘swiper’; import ‘swiper/dist/css/swiper.min.css’; 3.实例 &amp;amp;amp;amp;lt;template&amp;amp;amp;amp;gt; &amp;amp;am
2018-08-03 17:41:48
6357
1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅