zoukankan      html  css  js  c++  java
  • 1.2 JS&Vue汇总

    ## JS异步调用

      参考https://blog.csdn.net/weixin_43801564/article/details/89384255

    ##  xxx.js 与 xxx.min.js的区别

      xxx.js是完整的未压缩的库,文件比较大,一般用于阅读学习源码或修改源码,一般不用于线上项目。

      xxx.min.js是由完整版的库经过压缩得来,压缩后功能与未压缩的完全一样,只是将其中的空白字符、注释、空行等与逻辑无关的内容删除,并进行一些优化。这个版本一般用于网站引用使用,减小文件体积,降低网站流量,提升访问速度等。

    ## js根据下拉菜单select内容的不同,改变input框的一种实现办法:通过onchange决定哪些input隐藏哪些显露。

      参考https://www.imooc.com/article/10983。

      细节:刚开始的时候没有onchange事件,该如何决定哪些隐藏?一种办法是用window.onload函数;或者在正确的位置添加js判断代码

    ## form ajax 异步提交:

      参考https://www.cnblogs.com/yllaxmj/p/11358442.html

      https://www.zhihu.com/question/19631256

      https://www.cnblogs.com/the-fool/p/11054205.html

    ## 关于两种JSON数据格式 对象型和数组型:

      参考https://blog.csdn.net/weixin_42409227/article/details/85341905

    ## object.property相当于object["property"]

    ## js三元运算符&多个条件:

      var a=1;

      a>5 ? ( alert(1), alert(2) ) : ( alert(3), alert(4) )

    ## MVC与MVVM

      参考https://blog.csdn.net/u013282174/article/details/51220199

    ## vue与echarts

      参考https://github.com/MengFangui/vue-data-visualization

      https://blog.csdn.net/m0_38044941/article/details/92800614

      https://blog.csdn.net/qq_42166078/article/details/100984800

    ## jQuery添加和删除元素

      参考https://www.cnblogs.com/amy-1205/p/5848928.html

    ## jQuery 1 2 3 差别:

      参考https://www.hangge.com/blog/cache/detail_2228.html

    ## CSS盒模型 元素的margin设置百分数,百分数是相对于父元素的width计算

      参考https://www.cnblogs.com/zczhangcui/p/6228828.html

    ## jQuery下拉框动态赋值

      参考https://blog.csdn.net/dou747172348/article/details/89381448

    ## jQuery类选择器使用变量代替字符串

      参考https://blog.csdn.net/qq_40714105/article/details/80064517

    ## JS利用alert看到对象的值:JSON.stringify()

      参考https://blog.csdn.net/weixin_44253425/article/details/90442665

    ## JS对象新增键值对

      参考https://blog.csdn.net/k152_8747/article/details/81064307

    ## jQuery复选框checkbox提交数据类型和方法

      参考https://blog.csdn.net/qq_36538012/article/details/106210167

    ## jQuery序列化表单值来创建对象(name 和 value)的数组:serializeArray()

      参考https://www.runoob.com/jquery/ajax-serializearray.html

    ## echarts多条折线图x轴数据不一样问题

      参考https://blog.csdn.net/qq_43033251/article/details/110163387

      https://blog.csdn.net/weixin_38383877/article/details/85078376

    ## echarts设置x轴、y轴刻度起始值、终止值以及步长

      参考https://blog.csdn.net/xiecheng1995/article/details/106848200/

    ## JS获取数组最后一个元素

      参考https://blog.csdn.net/qq6759/article/details/94358702

    ## JS数组中push对象

      参考https://blog.csdn.net/simon_dg/article/details/78159807

    ## JS对象key的类型:有没有引号都是字符串

      参考https://www.cnblogs.com/cag2050/p/9939970.html

    ## JS中obj.name、obj["name"]、obj[name]的异同

      参考https://www.cnblogs.com/ljl-zszy/p/11812076.html

    ## js原生ajax与jquery的ajax的用法区别

      参考https://www.cnblogs.com/honey01/p/7297938.html

    ## Form表单提交与ajax异步提交的区别与联系

      参考https://www.cnblogs.com/yllaxmj/p/11358442.html

    ## 什么是闭包

      参考https://www.cnblogs.com/huanghuali/p/9851453.html

    ## 如何运行Vue

      参考https://www.cnblogs.com/weiwei-python/p/9754384.html

    ## CodeSandbox介绍

      参考https://blog.csdn.net/ohaikuotiankong1682/article/details/110233157

    ## Vue生命周期

      参考https://blog.csdn.net/jian_xi/article/details/79249300

      https://blog.csdn.net/qq_35585701/article/details/81216704

    ## jQuery滑动条输入

      参考https://blog.csdn.net/qq_42705221/article/details/86612903

    ## ElementUI表单验证

      参考https://www.cnblogs.com/xyyt/p/13366812.html

    ## Vue跳转到外部链接 

      参考https://www.jb51.net/article/147739.htm

     ## Vue+axios+php+MySql实现登录全栈开发

      参考https://blog.csdn.net/qq_40770272/article/details/102640729

    ## Vue生命周期钩子函数

      参考https://blog.csdn.net/qq_15766181/article/details/73549933

    ## Vue:v-on: 和 @ 效果一样

        v-bind: 和 : 效果一样

        "  isActive ? 'active' : ''  " 和 {active : isActive} 效果一样

    ## npm run dev 和 npm run serve

      参考https://www.cnblogs.com/fxwoniu/p/11353907.html

    ## Eslint & Husky

      参考https://www.bilibili.com/video/BV15J411973T?p=20

    ## 使用标签引入js文件时 报错require is not defined

      参考https://blog.csdn.net/grand_brol/article/details/108165797

    ## 数组slice方法,元素是浅拷贝,即元素如果是对象,存的是一样的地址值,指向的同一堆对象。

    ## for...of和for...in

      参考https://www.cnblogs.com/m2maomao/p/7743143.html

      https://segmentfault.com/q/1010000006658882

    ## codesandbox线上沙箱

      参考https://zhuanlan.zhihu.com/p/268559657

    ## 用不用打包工具引入模块时的区别

      参考https://stackoverflow.com/questions/52558777

      https://blog.csdn.net/guawawa311/article/details/102581954

      针对jQuery:https://blog.csdn.net/qq_39339233/article/details/81697618

    ## Vue事件修饰符.prevent

      参考https://www.cnblogs.com/ning123/p/11324583.html

    ## ES6三种函数写法

      参考https://blog.csdn.net/sinat_41904410/article/details/104042367

    ## FormData方法

      参考https://www.cnblogs.com/gczmn/p/9437935.html

     ## JS发送get 、post请求的方法简介

      参考https://www.cnblogs.com/wilsunson/p/11913627.html

     ## JS发送get请求在url后面添加参数为json对象报错解决方案

      参考https://blog.csdn.net/zhangqun23/article/details/81452852

    ## sort方法

      参考https://www.w3school.com.cn/js/jsref_sort.asp

    ## slice方法

      参考https://www.w3school.com.cn/js/jsref_slice_array.asp

     ## 自定义remove方法

      参考https://www.jianshu.com/p/697896f4aa43

    ## js遍历删除数组中不符合条件的元素

      参考https://www.cnblogs.com/dianzan/p/11848477.html

    ## js函数内部修改外部变量

      参考https://www.wodecun.com/blog/7932.html

    ## img灰色默认外边框的去除

      参考https://blog.csdn.net/qq_39833794/article/details/79922355

  • 相关阅读:
    [Angularjs]$http.post与$.post
    [Bug]Unable to start process dotnet.exe
    [Node.js]Restful Api
    [Node.js]Express web框架
    [Node.js]web模块
    [Winform]使用winform制作远程桌面管理工具
    [Node.js]Domain模块
    [Asp.net web api]缓存
    [Node.js]DNS模块
    WEB传参调用EXE
  • 原文地址:https://www.cnblogs.com/dhfly/p/14183124.html
Copyright © 2011-2022 走看看