1.判断变量 read -p "input a word :" word if [ ! -n "$word" ] ;then echo "you have not input a word!" else echo "the word you input is $word" fi 2.判断输入参数 #!/bin/bash if [ ! -n "$1" ] ;then echo "you have n
onShowNameTipsMouseenter: function(e) { var target = e.target; var containerLength = $(target).width(); var textLength = target.scrollWidth; var text = $(target).html(); //console.log("contentLength:" + containerLength); //console.log("text