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

鍍金池/ 問答
笨尐豬 回答

感慨,一模一樣的錯誤,排查后發(fā)現(xiàn)有兩個原因,一是node_modules中的node-sass是項目里面大神修改過源碼的,二是我錯裝了32位node,希望對你有幫助,PS:3221225725簡直是惡魔。

溫衫 回答

你可以試著新建一個Application來測試,照著PullToFresh文檔使用,如果還是有問題,那么您應(yīng)該求助的是開源的作者。
這種問題,思否應(yīng)該很少有人會答,我答的也毫無營養(yǎng),因為還要去研究使用下這個開源,回答成本略微有點高。

毀憶 回答

嗯,命令可以直接執(zhí)行的……

紓惘 回答

理論上可以,Vue 并不會影響 JS 的執(zhí)行。打個斷點調(diào)試一下吧。

忠妾 回答

同一個類型的表最好擁有統(tǒng)一的表前綴,不同的名字,關(guān)聯(lián)的表名就是 前綴_主表_鏈接表 這樣比較容易易讀一點
比如文章表
post_list
文章分類表
post_category
那么他們的連接表名就是
post_list_category
這樣可讀性更高,命名的時候英文單詞最好準(zhǔn)確一些 到時候也可以避免不必要的麻煩

枕邊人 回答

首先確定下自己上傳的文件是否都有大小,而不是空的。

然后目測是你們兩個文件上傳方式?jīng)]有溝通好,看看自己的請求,符不符合如圖紅框的格式,如果是,你沒啥問題。
問清楚后端文件傳輸?shù)?code>content-type是什么,想要什么格式的數(shù)據(jù)

clipboard.png

九年囚 回答

根據(jù)你的描述,app.xxx.js 的大小達(dá)到了3MB

即使項目規(guī)模非常的大,也不應(yīng)該出現(xiàn)這種情況。感覺你打包的時候,代碼拆分做的不好。
如果你打包使用的 webpack 可以參考這里 代碼分離

路由異步加載只是讓 app.xxx.js 體積縮小的其中一種方案,主要是代碼分離。

莓森 回答

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

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
笨笨噠 回答

你最后說的是對的,如果非靜態(tài),lock1和lock2中都存在o1和o2,o1和o2分別有2份,是不同的對象。

靜態(tài)成員變量,簡單理解就是這個類所有對象都可以訪問的全局變量,類加載的時候就會把這個對象創(chuàng)建出來。

空痕 回答

我試了下,發(fā)現(xiàn)結(jié)果都是一樣的?。?!就是上面test.php文件中的結(jié)果

傻叼 回答

在created中改一下就好了

data(){
    return {
        name:null
    }
},
created() {
    this.name = this.user.name
},
computed:{
    ...mapState({
        user:state=>state.user
    })
},
愿如初 回答

同步阻塞、同步非阻塞、異步非阻塞是網(wǎng)絡(luò)模型里面的概念,樓主可以找這類似的博客看下:https://www.cnblogs.com/aspir... 這個是我當(dāng)時學(xué)習(xí)看的

短嘆 回答

從領(lǐng)域模型來看,余額不是用戶自身的屬性,【用戶】依賴【余額】,【余額】關(guān)聯(lián)【用戶】,所以分開存儲更合理。如果因為余額的變更而引起用戶信息改變,或刪除用戶后造成用戶余額不可訪問,這個聽起來是有問題的。況且用戶和余額可能分別有各自的狀態(tài)。

怣人 回答

select title, count(user_id) total from a left join b on a.id=b.aid group by(b.aid) order by total DESC

b表有沒有數(shù)據(jù)不影響

clipboard.png

萌小萌 回答

() -> {} 是一個 Java 8 的新特性:lambda 表達(dá)式。

命令模式在 Java 8 以前的實現(xiàn)是類似這樣的:

pulic interface Command {
    void doCommand();
}

這種單方法的接口,在 Java 8 里允許使用簡潔的 lambda 表達(dá)式來描述,如果這個方法有參數(shù),比如:

public interface Command {
    void doCommand(int arg1, int arg2);
}

那么,就可以用 (arg1, arg2) -> { System.out.println(arg1 + arg2); } 來描述一個接口的實現(xiàn)。

這是 函數(shù)式編程 的一種體現(xiàn),你可以多了解一下 Java 8 這方面的新特性。

所以回過頭來說,() -> {} 表示的是,實現(xiàn)了某個接口的空參、啥都不干的接口實例。
具體實現(xiàn)的是哪個接口取決于 onCommands 的類型聲明。

so,你這個例子里意思就是:
創(chuàng)建兩個數(shù)組,分別是開啟時要執(zhí)行的命令、關(guān)閉時要執(zhí)行的命令,數(shù)組長度為7;
為了初始化,避免空指針,為這兩個數(shù)組賦值 啥都不干接口實例 是最合適的。

夏夕 回答

google的gson,可以將字符串轉(zhuǎn)換為對象,如 Person person = gson.fromJson(json, Person.class);

笨小蛋 回答

如果是服務(wù)端渲染的項目,則所有的內(nèi)容都會打包到war或者jar包內(nèi),如果是war則放置在tomcat的webapp文件中,tomcat會自動進(jìn)行解壓,如果是jar,比如springboot打包成jar,則直接java -jar xxx.jar即可啟動項目。

忘了我 回答

【mybatis】關(guān)聯(lián)查詢——mybatis一對多兩種方式實現(xiàn)詳解
先好好讀一下這篇博客,講的很清晰透徹,按照這篇博客的說法你這屬于第二種用法,mybatis通過查詢結(jié)果之后折疊結(jié)果集把數(shù)據(jù)放在了集合里,這就導(dǎo)致總條數(shù)的混亂.而第一種的方式是分兩次查詢,就不會有分頁的問題,所以解決方案就是把你的collection 寫成第一種的方式


PageHelper的作者明確表示了不支持這么干
Mybatis-PageHelper

寫榮 回答

json 對象的文本格式指的是將json對象通過 JSON.stringify() 轉(zhuǎn)成json字符串?
如果是的話,那就是不一定一樣
比如一個對象:

var a = {
    b:1,
    c:2,
    f: function(){
        console.log('hello')
    }
}

其中

{
    b:1,
    c:2,
    f: function(){
        console.log('hello')
    }
}

是對象字面量
但是JSON.stringify(a)的結(jié)果為'{"b":1,"c":2}'