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

鍍金池/ 問答/ 網(wǎng)絡(luò)安全問答
玩控 回答

maven 依賴tools項(xiàng)目,aop匹配規(guī)則沒問題的話 都能匹配上,且 啟動(dòng)項(xiàng)目要包含 aop工具類,保證spring 掃描到

https://www.roncoo.com/course...

青黛色 回答

你想用的話,就在那個(gè)successCallback里面用因?yàn)橹挥欣锩娌拍鼙WC有這個(gè)值。因?yàn)槭?strong>異步的

莓森 回答

幫你把sh下下來了,你存下來試試看,我就估計(jì)你git clone的時(shí)候也會(huì)卡住。哈哈,到時(shí)候再找我吧。

main() {
  # Use colors, but only if connected to a terminal, and that terminal
  # supports them.
  if which tput >/dev/null 2>&1; then
      ncolors=$(tput colors)
  fi
  if [ -t 1 ] && [ -n "$ncolors" ] && [ "$ncolors" -ge 8 ]; then
    RED="$(tput setaf 1)"
    GREEN="$(tput setaf 2)"
    YELLOW="$(tput setaf 3)"
    BLUE="$(tput setaf 4)"
    BOLD="$(tput bold)"
    NORMAL="$(tput sgr0)"
  else
    RED=""
    GREEN=""
    YELLOW=""
    BLUE=""
    BOLD=""
    NORMAL=""
  fi

  # Only enable exit-on-error after the non-critical colorization stuff,
  # which may fail on systems lacking tput or terminfo
  set -e

  CHECK_ZSH_INSTALLED=$(grep /zsh$ /etc/shells | wc -l)
  if [ ! $CHECK_ZSH_INSTALLED -ge 1 ]; then
    printf "${YELLOW}Zsh is not installed!${NORMAL} Please install zsh first!\n"
    exit
  fi
  unset CHECK_ZSH_INSTALLED

  if [ ! -n "$ZSH" ]; then
    ZSH=~/.oh-my-zsh
  fi

  if [ -d "$ZSH" ]; then
    printf "${YELLOW}You already have Oh My Zsh installed.${NORMAL}\n"
    printf "You'll need to remove $ZSH if you want to re-install.\n"
    exit
  fi

  # Prevent the cloned repository from having insecure permissions. Failing to do
  # so causes compinit() calls to fail with "command not found: compdef" errors
  # for users with insecure umasks (e.g., "002", allowing group writability). Note
  # that this will be ignored under Cygwin by default, as Windows ACLs take
  # precedence over umasks except for filesystems mounted with option "noacl".
  umask g-w,o-w

  printf "${BLUE}Cloning Oh My Zsh...${NORMAL}\n"
  hash git >/dev/null 2>&1 || {
    echo "Error: git is not installed"
    exit 1
  }
  # The Windows (MSYS) Git is not compatible with normal use on cygwin
  if [ "$OSTYPE" = cygwin ]; then
    if git --version | grep msysgit > /dev/null; then
      echo "Error: Windows/MSYS Git is not supported on Cygwin"
      echo "Error: Make sure the Cygwin git package is installed and is first on the path"
      exit 1
    fi
  fi
  env git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git $ZSH || {
    printf "Error: git clone of oh-my-zsh repo failed\n"
    exit 1
  }


  printf "${BLUE}Looking for an existing zsh config...${NORMAL}\n"
  if [ -f ~/.zshrc ] || [ -h ~/.zshrc ]; then
    printf "${YELLOW}Found ~/.zshrc.${NORMAL} ${GREEN}Backing up to ~/.zshrc.pre-oh-my-zsh${NORMAL}\n";
    mv ~/.zshrc ~/.zshrc.pre-oh-my-zsh;
  fi

  printf "${BLUE}Using the Oh My Zsh template file and adding it to ~/.zshrc${NORMAL}\n"
  cp $ZSH/templates/zshrc.zsh-template ~/.zshrc
  sed "/^export ZSH=/ c\\
  export ZSH=$ZSH
  " ~/.zshrc > ~/.zshrc-omztemp
  mv -f ~/.zshrc-omztemp ~/.zshrc

  # If this user's login shell is not already "zsh", attempt to switch.
  TEST_CURRENT_SHELL=$(expr "$SHELL" : '.*/\(.*\)')
  if [ "$TEST_CURRENT_SHELL" != "zsh" ]; then
    # If this platform provides a "chsh" command (not Cygwin), do it, man!
    if hash chsh >/dev/null 2>&1; then
      printf "${BLUE}Time to change your default shell to zsh!${NORMAL}\n"
      chsh -s $(grep /zsh$ /etc/shells | tail -1)
    # Else, suggest the user do so manually.
    else
      printf "I can't change your shell automatically because this system does not have chsh.\n"
      printf "${BLUE}Please manually change your default shell to zsh!${NORMAL}\n"
    fi
  fi

  printf "${GREEN}"
  echo '         __                                     __   '
  echo '  ____  / /_     ____ ___  __  __   ____  _____/ /_  '
  echo ' / __ \/ __ \   / __ `__ \/ / / /  /_  / / ___/ __ \ '
  echo '/ /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / / '
  echo '\____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_/  '
  echo '                        /____/                       ....is now installed!'
  echo ''
  echo ''
  echo 'Please look over the ~/.zshrc file to select plugins, themes, and options.'
  echo ''
  echo 'p.s. Follow us at https://twitter.com/ohmyzsh.'
  echo ''
  echo 'p.p.s. Get stickers and t-shirts at https://shop.planetargon.com.'
  echo ''
  printf "${NORMAL}"
  env zsh
}

main
放開她 回答

你應(yīng)該把請求的Accept設(shè)置成application/octet-stream.
這其實(shí)有的奇怪, 因?yàn)橐话闱闆r下 Excel 文件的 Accept 是application/vnd.ms-excel.
但是由于 flasgger 是使用 swagger-ui 作為前端, 而 Swagger 發(fā)送文件類請求是使用 superagent, 使用的是 blob 技術(shù), 需要設(shè)置 xhr 的 ResponseTypeblob.
我們看flasgger_static/lib/http.js:

if(this.binaryRequest(accept)) {
    r.on('request', function () {
      if(this.xhr) {
        this.xhr.responseType = 'blob';
      }
    });
  }
SuperagentHttpClient.prototype. binaryRequest = function (accept) {
  if(!accept) {
    return false;
  }
  return (/^image/i).test(accept)
    || (/^application\/pdf/).test(accept)
    || (/^application\/octet-stream/).test(accept);
};

只在 Accept 匹配為image/i,/^application\/pdf/,/^application\/octet-stream/, 才將 responseType 設(shè)置成 blob
所以要么將/^application\/vnd.ms-excel/這個(gè)匹配加入http.js, 要么將發(fā)送的請求全部設(shè)置成application/octet-stream.
也就是這樣設(shè)置produces:
app.py:

@app.route('/excel')
def excel():
    """
    ---
    produces:
      application/octet-stream
    responses:
      200:
        description: description_text
        schema:
          type: file
    """
    save_path = 'demo.xls'
    response = make_response(send_file(save_path))
    response.headers['Content-Disposition'] = 'attachment; filename=demo.xls'
    return response

比如現(xiàn)在的目錄結(jié)構(gòu):

clipboard.png
demo.py:

clipboard.png
apidocs頁面:

clipboard.png

柒槿年 回答

這個(gè)input標(biāo)簽android端實(shí)現(xiàn)邏輯為瀏覽器自定義的,瀏覽器如果沒有實(shí)現(xiàn)無法兼容,很多瀏覽器沒有去實(shí)現(xiàn),不存在可以兼容的情況。

冷眸 回答

為什么要用16進(jìn)制呢,整數(shù)類型肯定是最適合用作主鍵的,還可以設(shè)為自增;
千萬別用varchar類型的主鍵,insert和一些select會(huì)變慢。

假灑脫 回答

我也遇到同樣的問題,請問樓主解決了嗎,如何解決的?

熊出沒 回答

雖然沒有在網(wǎng)上查到具體setup file具體作用,但是在github中通過下載一下別人的測試包會(huì)發(fā)現(xiàn),setup.js多是包含了執(zhí)行測試腳本前的準(zhǔn)備工作

例如: mocha --compilers js:babel-core/register --require ./test/setup.js
setup.js中的代碼為
`import jsdom from 'jsdom';

if (typeof document === 'undefined') {
global.document = jsdom.jsdom('<!doctype html><html><body></body></html>');
global.window = document.defaultView;
global.navigator = global.window.navigator;
}
`
以上均是個(gè)人猜測,希望可以幫到你

墨小白 回答

你循環(huán)slide的時(shí)候應(yīng)該是從一個(gè)對象的屬性里面拿的,比如
data.xxx.classList
在你取數(shù)據(jù)的生活,data應(yīng)該是一個(gè)空對象,并沒有屬性'xxx',swiper循環(huán)的時(shí)候xxx是undefined,所以從undefined中取classList會(huì)報(bào)錯(cuò)

你需要在data里面直接定義一個(gè)classList

data(){
    return {
        classList:[]
    }
}

之后將異步取回的關(guān)于swiper的字段單獨(dú)賦值給classList

之后從classList中循環(huán)即可

絯孑氣 回答

最后的解決辦法是調(diào)整swipe()里面的t取值為140左右可以滑倒比較后面。但是要滑到底部還是不夠

墨小羽 回答

顯然要檢查你的canWriteStorage方法的實(shí)現(xiàn)

維他命 回答

目錄

1.PHP基礎(chǔ)

1.1 PHP環(huán)境搭建

1.1.1 下載安裝包

1.1.2 安裝軟件

1.1.3 修改配置文件

嘟尛嘴 回答

你數(shù)組里面別就存?zhèn)z名字了,你存一個(gè)對象{重慶:[]},{貴陽:[]},賦值的時(shí)候就找對應(yīng)的賦值,那就不會(huì)錯(cuò)了啊

未命名 回答

在windows系統(tǒng)下,我更推薦打開ftp,然后通過FreeFileSync這類同步軟件操作。這個(gè)軟件比一些單純的FTP軟件更加可視及可控。

玩控 回答

可以使用官方推薦的nextTick 函數(shù)來執(zhí)行拖曳后的回調(diào) 官方文檔:https://cn.vuejs.org/v2/api/#...

凹凸曼 回答

node開發(fā)服務(wù)器端的話,不如用go或java,后者都有比較合適的分布式組件。而且穩(wěn)定和性能都是經(jīng)過考驗(yàn)的。

on:{

click:function(e){}

} 這里的函數(shù)需要把this傳參進(jìn)去 或者在外面 let _this = this 里面用_this