在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/ HTML問答
  1. vendor的意思是依賴的第三方庫,不會(huì)經(jīng)常變更的,如你代碼里的jQuery這種
  2. CommonsChunkPlugin是指被你重復(fù)引用的chunks??赡苁莢endor,也可能是你自己的某個(gè)公共組件
嫑吢丕 回答

js正則功能比較弱,只有向后匹配,沒有向前匹配

情未了 回答

openid 是唯一標(biāo)識(shí),所以這個(gè)可以,要么手機(jī)號(hào),微信小程序允許獲取手機(jī)號(hào)的,就是比較麻煩

九年囚 回答

能用JSFiddle寫一個(gè)demo,首先給你點(diǎn)個(gè)贊!方便看到問題而且方便回答。
直接在你那個(gè)demo上更改了部分代碼,你點(diǎn)擊查看便可看到效果:https://jsfiddle.net/aL83ucmw/6/

選擇 回答

不考慮深拷貝

let result = arr.filter(v => v.name === 'aa')

簡單深拷貝

let result = []
arr.forEach(v => {
    v.name === 'aa' ? result.push(Object.assign({}, v)) : ''
})
安于心 回答

是不是頁面刷新了,<button type="submit" class="btn btn-default" id = "signup">注冊(cè)</button>改成type="button"試試.

type="submit" 會(huì)提交保單,表單默認(rèn)行為會(huì)刷新頁面,這樣你的`ajax`沒來得及執(zhí)行就刷新了。

帥到炸 回答

你APP.vue里面引入oTitle的時(shí)候,title少了'.vue'后綴,看看是不是這個(gè)原因

心悲涼 回答

可以給這李和王的那兩段代碼設(shè)置相同的類,給鄭的設(shè)置另外一個(gè)與李和王的class不同的類名,用document.querySelectorAll(".李和王的類名")獲取李和王的電話號(hào)碼,鄭的用document.querySelector(".鄭的類名")獲取鄭的電話號(hào)碼;
var mobile = document.querySelectorAll(".李和王的類名").innerHTML;
var mobile1 = document.querySelectorAll(".鄭的類名").innerHTML;
var reg = /^(13[0-9]|14[5|7]|15[0|1|2|3|5|6|7|8|9]|18[0|1|2|3|5|6|7|8|9])d{8}$/;
var r1 = reg .replace(mobile);
var r2 = reg .replace(mobile1);

真難過 回答

我也遇到了此問題,題主是否已經(jīng)解決?

瞄小懶 回答

使用JS-SDK可以獲取經(jīng)緯度

wx.getLocation({
 type: 'wgs84', // 默認(rèn)為wgs84的gps坐標(biāo),如果要返回直接給openLocation用的火星坐標(biāo),可傳入'gcj02'
success: function (res) {
    var latitude = res.latitude; // 緯度,浮點(diǎn)數(shù),范圍為90 ~ -90
    var longitude = res.longitude; // 經(jīng)度,浮點(diǎn)數(shù),范圍為180 ~ -180。
    var speed = res.speed; // 速度,以米/每秒計(jì)
    var accuracy = res.accuracy; // 位置精度
}

});

忠妾 回答

clipboard.png
看看設(shè)置里面有無.php

舊城人 回答

debugger的時(shí)候,看不到源碼?
瀏覽器有沒有安裝react dev-tool?

北城荒 回答

js中的數(shù)組只是高階對(duì)象,或者說,除了那幾個(gè)原始數(shù)據(jù)類型外,都是對(duì)象。
數(shù)組關(guān)鍵的在于排序,如果在最后插入數(shù)據(jù),那么對(duì)數(shù)組而言不需要知道長度;而如果插在首位,那么可以看成是原有的數(shù)組元素都向后移動(dòng)一位。

我不懂 回答

Math.round()

// Closure
(function(){

  /**
   * Decimal adjustment of a number.
   *
   * @param {String}  type  The type of adjustment.
   * @param {Number}  value The number.
   * @param {Integer} exp   The exponent (the 10 logarithm of the adjustment base).
   * @returns {Number}      The adjusted value.
   */
  function decimalAdjust(type, value, exp) {
    // If the exp is undefined or zero...
    if (typeof exp === 'undefined' || +exp === 0) {
      return Math[type](value);
    }
    value = +value;
    exp = +exp;
    // If the value is not a number or the exp is not an integer...
    if (isNaN(value) || !(typeof exp === 'number' && exp % 1 === 0)) {
      return NaN;
    }
    // Shift
    value = value.toString().split('e');
    value = Math[type](+(value[0] + 'e' + (value[1] ? (+value[1] - exp) : -exp)));
    // Shift back
    value = value.toString().split('e');
    return +(value[0] + 'e' + (value[1] ? (+value[1] + exp) : exp));
  }

  // Decimal round
  if (!Math.round10) {
    Math.round10 = function(value, exp) {
      return decimalAdjust('round', value, exp);
    };
  }
  // Decimal floor
  if (!Math.floor10) {
    Math.floor10 = function(value, exp) {
      return decimalAdjust('floor', value, exp);
    };
  }
  // Decimal ceil
  if (!Math.ceil10) {
    Math.ceil10 = function(value, exp) {
      return decimalAdjust('ceil', value, exp);
    };
  }

})();

// Round
Math.round10(55.55, -1); // 55.6
Math.round10(55.549, -1); // 55.5
Math.round10(55, 1); // 60
Math.round10(54.9, 1); // 50
Math.round10(-55.55, -1); // -55.5
Math.round10(-55.551, -1); // -55.6
Math.round10(-55, 1); // -50
Math.round10(-55.1, 1); // -60
Math.round10(1.005, -2); // 1.01 -- compare this with Math.round(1.005*100)/100 above
// Floor
Math.floor10(55.59, -1); // 55.5
Math.floor10(59, 1); // 50
Math.floor10(-55.51, -1); // -55.6
Math.floor10(-51, 1); // -60
// Ceil
Math.ceil10(55.51, -1); // 55.6
Math.ceil10(51, 1); // 60
Math.ceil10(-55.59, -1); // -55.5
Math.ceil10(-59, 1); // -50
下墜 回答

flex 百分比 grid 都可以

逗婦乳 回答

是不是你設(shè)置了默認(rèn)最多顯示多少條?單獨(dú)查詢過那些數(shù)據(jù)是否存在了嗎?