鍍金池/ 問答
生性 回答
git config --global user.name "Your_Username"
git config --global user.email username@xxx.com
半心人 回答

你在my-header組件里面只是注冊了my-top組件卻并沒有進行調(diào)用。將my-header的字符串模板改寫為

'<h3> this is a parent <my-top></my-top></h3>'
嫑吢丕 回答

不好意思,剛看到邀請,sf的消息通知做的.. ..工作完畢后,回來修改.

下墜 回答

可以點擊切換class,通過class設(shè)置樣式

疚幼 回答

附帶身份憑證的請求與通配符 對于附帶身份憑證的請求,服務(wù)器不得設(shè)置 Access-Control-Allow-Origin 的值為“*”。
這是因為請求的首部中攜帶了 Cookie 信息,如果 Access-Control-Allow-Origin
的值為“*”,請求將會失敗。而將 Access-Control-Allow-Origin 的值設(shè)置為
http://foo.example,則請求將成功執(zhí)行。
來自mdn

所以把*改成你的請求域名http://localhost:8080

如果還不行,

Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: *

這些字段也都設(shè)置一下

尛曖昧 回答

iframe 的 onload 事件 判斷 contentWindow.location.pathname 是否是 Account/Login

玩控 回答

<button class="btn anni1" :class="{active:index == num}" @click="zhengchang(i,x,y)">正常
</button>

    tab: function(index) {
        this.num = index;
    }
懶洋洋 回答

因為你的post是異步的啊,你在子組件created的時候可能還沒拿到數(shù)據(jù)

拮據(jù) 回答

html: <el-table ref="multipleSelection" :data="tableData">
</el-table>

js: this.$refs.multipleSelection.clearSort();

浪婳 回答

步驟 3 中 /list/1頁面沒有緩存并且被重新加載 存在的問題需要查找一些

個人不推薦在路由守衛(wèi)中修改 meta.keepAlive

你可以嘗試吧所需的路由組件設(shè)置 keepalive ,并使用組件內(nèi)守衛(wèi)的 beforeRouteEnter 進行判斷 from 刷新數(shù)據(jù)

深記你 回答

localhost/127.0.0.1不是域名系統(tǒng),沒有子域這種概念啊。

命多硬 回答

看下地址欄,segmentfault 用的是HTTPS協(xié)議,這里協(xié)議、模塊都選錯了。另外,http請求的默認端口是80,443端口也是比較明顯的問題。

var https = require('https');
var options = {
    host: 'segmentfault.com',
    port: 443,
    path: '/'
};

https.get(options, function (res) {
    if (res.statusCode === 200) {
        console.log('ok');
    } else {
        console.log('error');
    }
}).on('error', function (e) {
    console.log(e);
});
掛念你 回答

js的數(shù)組是引用類型
引用類型的毛病就是這樣,只是換了個名字,實際上都指向一個地址

執(zhí)念 回答

不都是要編譯成css么,對.css文件進行合并處理就行了吧。

傻叼 回答

我的錯誤是這樣的

npm ERR! code EINTEGRITY
npm ERR! sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA== integrity checksum failed when using sha512: wanted sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA== but got sha512-n+6hC9m8/M79/zP73OVephxorZkaamBKLLwslR3SOUCqGyBpmyWwfdmqEs/NZGksb86QEJawH8+fz6iKNrYJKw==. (48732 bytes)

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\likang\AppData\Roaming\npm-cache\_logs\2017-12-14T11_24_54_278Z-debug.log

我換個網(wǎng)絡(luò)就好了,可能是網(wǎng)絡(luò)問題吧,并且今天我的網(wǎng)上不去Vue官,手機4G就可以