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

鍍金池/ 問(wèn)答
舊言 回答

extract-text-webpack-plugin 這個(gè)插件還是支持的,還是和原來(lái)一樣用,只是你要升級(jí)到對(duì)應(yīng)的^4.0.0版本

夕顏 回答

2,a = [1,2,3,4];創(chuàng)建了一個(gè)新的數(shù)組對(duì)象,然后把a指向它
3,var trueFactorial = factorial;factorial指向的對(duì)象賦值給trueFactorial,所以trueFactorial指向的是最初聲明的方法

青檸 回答

不要用formData保存請(qǐng)求數(shù)據(jù),直接用一個(gè)對(duì)象來(lái)保存就行。

var data = {"verifyCodeActual":verifyCodeActual};

FormData是上傳文件時(shí)需要用到的請(qǐng)求格式

忘了我 回答

加一個(gè)class:

<li v-for="(item,key) in arr"  @click="son(item,key)" :class='key==selected?"selected":""'><span></span>{{item}}</li>

data(){
    return{
        selected:-1
    }
},
methods:{
    son(item,key){
        this.selected=key;
    }
}

.selected{
    color:red;
}
大濕胸 回答

main不設(shè)置padding的話(huà)就是最高子組件所撐開(kāi)的高度,當(dāng)然還和子組件的padding和margin有關(guān)

膽怯 回答

你的if (!($(this)[href=pre_url])) {}這個(gè)我沒(méi)看懂是什么意思,不是這樣判斷的
$('#a').remove();是直接刪除id=a你的用法不對(duì)
$("a[href!='']").each(function() {})多余了$("a[href!='']").on('mouseenter')會(huì)給所有選擇到的元素添加事件

$(document).ready(function() {
    $("a[href!='']").on('mouseenter', function(event) {
        var bool = false;
        var pre_url = $(this).attr("href");
        $("link").each(function() {
            if (($(this).attr("href")==pre_url)) {//判斷是否已經(jīng)存在存在則不添加
                bool = true
            }
        });
        if(!bool){
            $("head").append('<link rel="prerender" href="' + pre_url + '">');
        }
    });
    $("a[href!='']").on('mouseleave', function(event) {
        var pre_url = $(this).attr("href");//只要鼠標(biāo)移出就刪除 所有不用判斷
        $('link[href="' + pre_url +'"]').remove();
    });
});
不討囍 回答

我是指的是less中呢,是 @import "@/styles/xxx" 嗎?

傲嬌范 回答

從父組件拿值后是setState嗎,這個(gè)方法會(huì)有延遲,可能是在還沒(méi)有set進(jìn)去就已經(jīng)渲染完了這個(gè)input 所以他的default就是個(gè)空值,試試再加一個(gè)this.state.xx=xx;

冷咖啡 回答

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.hisen</groupId>
<artifactId>BookSystem_V0</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>BookSystem_V0 Maven Webapp</name>
<url>http://maven.apache.org</url>
<dependencies>
    <!-- 單元測(cè)試 -->
    <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>4.11</version>
    </dependency>
    <!-- 1.日志 -->
    <!-- 實(shí)現(xiàn)slf4j接口并整合 -->
    <dependency>
        <groupId>ch.qos.logback</groupId>
        <artifactId>logback-classic</artifactId>
        <version>1.1.1</version>
    </dependency>
    <!-- 2.數(shù)據(jù)庫(kù) -->
    <dependency>
        <groupId>mysql</groupId>
        <artifactId>mysql-connector-java</artifactId>
        <version>5.1.37</version>
        <scope>runtime</scope>
    </dependency>
    <dependency>
        <groupId>c3p0</groupId>
        <artifactId>c3p0</artifactId>
        <version>0.9.1.2</version>
    </dependency>
    <!-- DAO: MyBatis -->
    <dependency>
        <groupId>org.mybatis</groupId>
        <artifactId>mybatis</artifactId>
        <version>3.3.0</version>
    </dependency>
    <dependency>
        <groupId>org.mybatis</groupId>
        <artifactId>mybatis-spring</artifactId>
        <version>1.2.3</version>
    </dependency>
    <!-- 3.Servlet web -->
    <dependency>
        <groupId>taglibs</groupId>
        <artifactId>standard</artifactId>
        <version>1.1.2</version>
    </dependency>
    <dependency>
        <groupId>jstl</groupId>
        <artifactId>jstl</artifactId>
        <version>1.2</version>
    </dependency>
    <dependency>
        <groupId>com.fasterxml.jackson.core</groupId>
        <artifactId>jackson-databind</artifactId>
        <version>2.5.4</version>
    </dependency>
    <dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>javax.servlet-api</artifactId>
        <version>3.1.0</version>
    </dependency>
    <!-- 4.Spring -->
    <!-- 1)Spring核心 -->
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-core</artifactId>
        <version>4.1.7.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-beans</artifactId>
        <version>4.1.7.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-context</artifactId>
        <version>4.1.7.RELEASE</version>
    </dependency>
    <!-- 2)Spring DAO層 -->
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-jdbc</artifactId>
        <version>4.1.7.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-tx</artifactId>
        <version>4.1.7.RELEASE</version>
    </dependency>
    <!-- 3)Spring web -->
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-web</artifactId>
        <version>4.1.7.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-webmvc</artifactId>
        <version>4.1.7.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-test</artifactId>
        <version>4.1.7.RELEASE</version>
    </dependency>
</dependencies>
<build>
    <finalName>BookSystem_V0</finalName>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
                <source>1.8</source>
                <target>1.8</target>
            </configuration>
        </plugin>
    </plugins>
</build>

</project>

有可能是請(qǐng)求了robots.txt這個(gè)文件

眼雜 回答

你只需要理解是箭頭函數(shù)跟普通函數(shù)不一樣,而不是箭頭函數(shù)里的 this 跟普通函數(shù)里的 this (性質(zhì))不一樣。

箭頭函數(shù)中的 this 只不過(guò)是跳過(guò)了箭頭函數(shù)而已,不是靜態(tài)綁定。

墨小白 回答

反過(guò)來(lái)思考,先判斷,后限制。

// 僅在不能通過(guò)驗(yàn)證的時(shí)候才替換
if (!/^\d+(\.\d+)?$/.test(this.value)) {
    var t = this.value.match(/\d+(\.\d+)?/);
    this.value = t ? t[0] : "";
}
枕頭人 回答

你應(yīng)該在onCell的函數(shù)體里返回的組件上注冊(cè)onClick事件

薄荷綠 回答
//testgo.h
#ifdef __cplusplus
extern "C"{
#endif
extern long calladdr(long addr);
#ifdef __cplusplus
}
#endif
//testgo.cpp
#include "testgo.h"

long calladdr(long addr){
    return addr;
}
//test.go
package main

// #include "testgo.h"
// #cgo LDFLAGS: ${SRCDIR}/testgo.so -lstdc++
import "C"
import "fmt"
import "unsafe"

type Work struct {
    Name string
}

func main() {
    data := &Work{Name: "aaa"}
    ad := C.long(uintptr(unsafe.Pointer(data)))

    addr := C.calladdr(ad)
    newdata := (*Work)(unsafe.Pointer(uintptr(addr)))
    fmt.Println("newdata is", newdata)
}

應(yīng)該可以滿(mǎn)足要求

不討囍 回答

動(dòng)態(tài)計(jì)算點(diǎn)到圓心的距離,大于半徑就取圓圈上的點(diǎn)