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

鍍金池/ 問答
嘟尛嘴 回答

試一試/user/user/index可不可以渲染出userlist組件

壞脾滊 回答

之所以報錯 是因為默認使用了屬性的簡潔表示法

const baz = {foo};
// 等同于
const baz = {foo: foo};

var data = {
            tableData: this.tableData,
            observerValue: this.observerValue
}
// 不會報錯

ES6 允許在對象之中,直接寫變量。這時,屬性名為變量名, 屬性值為變量的值。

毀與悔 回答

謝謝回答,譯意我明白了,但實際操作時會出現(xiàn) BUG,不知道是瀏覽器兼容問題還是 PHP版本問題!

AA.JPG

圖片描述

每個色塊大小是 50px*50px


<?php
$im = imagecreatefromjpeg("AA.jpg");
$blue = imagecolorallocate ( $im, 0, 0, 255 ); // 設(shè)置一個顏色變量為紅色

imagefill ( $im, 30, 80, $blue ); // 將背景設(shè)為紅色
//imagefill ( $im, 0, 0, $blue ); // 將背景設(shè)為紅色

header ( 'Content-type: image/jpg' ); // 通知瀏覽器這不是文本而是一個圖片
imagepng( $im ); // 生成PNG格式的圖片輸出給瀏覽器

imagedestroy ( $im ); //銷毀圖像資源,釋放畫布占用的內(nèi)存空間
?>


輸出圖片是這樣的

圖片描述

醉淸風 回答

計算有點誤差是正常的, 1024 * n

clipboard.png

真難過 回答

一個條件用if else或者三元符
兩個條件用if elseif else
三個條件用switch

下墜 回答

iview api有autofocus

   directives: {
    focus: {
      inserted: function(el, binding, vnode) {
         vnode.child.$refs.input.autofocus=true
      },
    },
   }
執(zhí)念 回答
let root = [{
  id: '1',
  name: '姓名1',
  items: [
    {
      id: '2',
      name: '姓名2',
      items: [
        {
          id: '3',
          name: '姓名3',
          items: [
            {
              id: '4',
              name: '姓名4',
            },
          ],
        },
      ],
    },
    {
      id: '5',
      name: '姓名5',
    },
    {
      id: '6',
      name: '姓名6',
    },
  ],
}];

function search(root, id) {
  for (let i = 0; i < root.length; i += 1) {
    if (root[i].id === id) {
      return [{ id, name: root[i].name }];
    }
  }
  for (let i = 0; i < root.length; i += 1) {
    if (root[i].items && Array.isArray(root[i].items)) {
      const res = search(root[i].items, id);
      if (res.length) return [...res, { id: root[i].id, name: root[i].name }];
    }
  }
}

console.log(search(root, '5'));
console.log(search(root, '3'));
巷尾 回答

當然可以啦…基本的模塊導(dǎo)出導(dǎo)入嘛

放開她 回答
  1. 我覺得這樣寫會清楚一些:

    <?php
    $str1 = "01 ";
    $str1++;
    var_export($str1);//得到'01 '
    
    $str2 = "01";
    $str2++;
    var_export($str2);//得到2
  2. 參見這里的解釋:

    PHP follows Perl's convention when dealing with arithmetic operations on character variables and not C's. For example, in PHP and Perl $a = 'Z'; $a++; turns $a into 'AA', while in C a = 'Z'; a++; turns a into '[' (ASCII value of 'Z' is 90, ASCII value of '[' is 91). Note that character variables can be incremented but not decremented and even so only plain ASCII alphabets and digits (a-z, A-Z and 0-9) are supported. Incrementing/decrementing other character variables has no effect, the original string is unchanged.

    大意是說,使用自增/自減操作字符串時,可以遞增但不能遞減,另外只支持(字符串的末位為)純 ASCII 字母和數(shù)字 (a-z、a-z 和 0-9)。(另外注意這段中文文檔和英文的對不上,暫且以英文為準)

  3. 可參考這篇
凝雅 回答
  1. 不是,TeamViewer操控電腦用戶是知道的,這個暫且叫做前門
  2. 后門一般是在目標主機運行一個常駐進程的程序,一般是基于TCP的,當TCP連接進來后,分析傳來的數(shù)據(jù)包并執(zhí)行相應(yīng)的命令。

后門一般是打開郵件附件、亂打開了別人發(fā)你的可執(zhí)行文件,系統(tǒng)漏洞這幾種方式弄進來的

喵小咪 回答

看題主的意思initPage()可能做了類似于window.reload()這樣的事情吧,就是按F5的功能一樣

如果是這種方式來重繪頁面的話,那么你這上面說的所有流程都會中斷,建議處理一下initPage()的方法,不要讓頁面重新加載

久愛她 回答

不知道我理解的對不對,調(diào)用鏈中使用了很多 log.debug(...) 而你的日志級別是info正常情況下這個日志是不打印到日志文件的 ,你的希望是當發(fā)生異常的時候,把本次調(diào)用鏈上的debug級別的日志都輸出出來。

這種比較難實現(xiàn),我覺得無非是想定位問題,有一些動態(tài)調(diào)整日志級別方法,當線上訪問量很大的時候設(shè)置為info,當你需要調(diào)試問題是設(shè)置為debug,調(diào)試完成之后再改回info

可以參考:
https://tech.meituan.com/chan...

只能提供這么多信息,我也比較關(guān)心這個問題,如果能實現(xiàn)上面描述的問題,排查問題應(yīng)該會好很多。

深記你 回答

use對于“可變類名(變量類名)”無效,要拼class的命名空間全路徑

糖豆豆 回答

應(yīng)該是可以在table 上自己一定一個屬性,比如

<style>
table[data-v-106baed3]{ 
background:#f00;
}
</style>
<table data-v-106baed3>
</table>
亮瞎她 回答

1像素的問題,行高和位置計算出現(xiàn)1像素偏差
使用 vertical-align:baseline; 即可
https://jsfiddle.net/zwwill/1...
更多請看 http://www.zhangxinxu.com/wor...

乖乖瀦 回答

把build文件里面的utils.js的publicpath:'../../'給屏蔽掉就不報錯了。


function generateLoaders (loader, loaderOptions) {
    const loaders = options.usePostCSS ? [cssLoader, postcssLoader] : [cssLoader]
    if (loader) {
      loaders.push({
        loader: loader + '-loader',
        options: Object.assign({}, loaderOptions, {
          sourceMap: options.sourceMap
        })
      })
    }

    // Extract CSS when that option is specified
    // (which is the case during production build)
    if (options.extract) {
      return ExtractTextPlugin.extract({
        use: loaders,
        fallback: 'vue-style-loader',
        //publicpath:'../../',
      })
    } else {
      return ['vue-style-loader'].concat(loaders)
    }
  }
朕略傻 回答

圖片描述

應(yīng)該是網(wǎng)絡(luò)問題吧,看下util.js 1024行。

萢萢糖 回答

post時帶的data中__VIEWSTATE是變化的