herehttps://static.howbuy.com/??/upload/auto/script/fund/jzzs_001605.js,/upload/auto/script/fund/jjjl_001605.js,/upload/auto/script/fund/data_001605.js?v=7c097a5
從代碼上來(lái)看是沒(méi)有問(wèn)題的,提供的信息太少了,沒(méi)辦法找到錯(cuò)誤,建議你整個(gè)流程調(diào)試一遍:
1、bookId有沒(méi)有拿到
2、chapters有沒(méi)有拿到
3、chapters有沒(méi)有渲染到頁(yè)面上
<toast
v-model="msg"
type="text"
:time="time"
position="top"
text="刪除成功">
</toast>
作為一個(gè)子組件 props接收父組件傳遞的time 父組件的時(shí)間可以引入全局的變量,全局變量可以定義在main.js里面window.TOAST_TIME = 1800
似乎是因?yàn)槲业?FFMpeg 并不支持 .m3u
。
ffmpeg -formats
可以查看你的 FFMpeg 所支持的封裝格式。
1.webpack打包樣式
import React from 'react'
import './styles/index.css'
function demo(){
return (
<div className='a'>
<div className='b'>
</div>
</div>
)
}
2.嵌入式
import React from 'react'
function demo(){
return (
<div className='a' style={{width: 100}}>
<div className='b' style={{width: 100}}>
</div>
</div>
)
}
<img src="http://xxxxxx.jpg">
s[i]
在這個(gè)地方是原生dom對(duì)象,不是jquery對(duì)象,可以按照樓上說(shuō)的做法,也可以使用將原生dom對(duì)象轉(zhuǎn)化為jquery的方式$(s[i]).css("display","none")
let arr = ["", "A001", "V002", "V003", "_123", "133", "2334", "大124", "小afaf", "a001", "v004", "馬龍", "中華", "中國(guó)"];
arr.sort(function(a, b) {
let max_length = Math.max(a.length, b.length),
compare_result = 0,
i = 0;
while(compare_result === 0 && i < max_length) {
compare_result = compare_char(a.charAt(i), b.charAt(i));
i++;
}
return compare_result;
});
function compare_char(a, b) {
var a_type = get_char_type(a),
b_type = get_char_type(b);
if(a_type === b_type && a_type < 4) {
return a.charCodeAt(0) - b.charCodeAt(0);
} else if(a_type === b_type && a_type === 4) {
return a.localeCompare(b);
} else {
return a_type - b_type;
}
}
function get_char_type(a) {
var return_code = {
nul: 0,
symb: 1,
number: 2,
upper: 3,
lower: 4,
other: 5
}
if(a === '') {
return return_code.nul; //空
} else if(a.charCodeAt(0) > 127) {
return return_code.other;
} else if(a.charCodeAt(0) > 122) {
return return_code.symb;
} else if(a.charCodeAt(0) > 96) {
return return_code.lower;
} else if(a.charCodeAt(0) > 90) {
return return_code.symb;
} else if(a.charCodeAt(0) > 64) {
return return_code.upper;
} else if(a.charCodeAt(0) > 58) {
return return_code.symb;
} else if(a.charCodeAt(0) > 47) {
return return_code.number;
} else {
return return_code.symb;
}
}
console.log(arr);
寫(xiě)的亂了點(diǎn)湊活看吧
升到2.x吧。
因?yàn)閛nload一次 頁(yè)面加載完后就不會(huì)再有了,寫(xiě)在下拉加載那個(gè)回調(diào)函數(shù)內(nèi),對(duì)你的加載動(dòng)畫(huà)進(jìn)行操作。
執(zhí)行npm run build不就打包了嗎?
Vue.directive('demo', {
bind: function (el, binding) {
binding.value()
}
}
多次提交啊
1.git add file1 file2 file2
2.git commit -m 'xxxxxx'
3.git add file4 file5 file6 src1 src2/file*
4.git commit -m 'xxxxxxxxx'
1.可以給那個(gè)按鈕的大盒子綁定一個(gè)mouseleave事件,移除隱藏,如果要單擊隱藏可以在外面套一個(gè)大的div綁定單擊事件
2.還有一個(gè)方法,直接判斷事件觸發(fā)源是不是除了那個(gè)按鈕盒子,貼上代碼
$(function(){
$(document).bind("click",function(e){
var target = $(e.target);
if(target.closest(".pop").length == 0){
$(".pop").hide();
}
})
})
可以給盒子命名一個(gè)類(lèi)為pop,利用jquery的closest()函數(shù)用于從當(dāng)前匹配元素開(kāi)始,逐級(jí)向上級(jí)選取符合指定表 達(dá)式的第一個(gè)元素,并以jQuery對(duì)象的形式返回是否含有.pop類(lèi)
3.希望可以幫到你
和Redux
沒(méi)有關(guān)系。
你的JSX
寫(xiě)錯(cuò)了,islogoin
組件開(kāi)頭要大寫(xiě),否則React
會(huì)把它當(dāng)成原生HTML
標(biāo)簽。
原生HTML
標(biāo)簽不能隨便加屬性的
SPA單頁(yè)面 每個(gè)路由下都會(huì)加載樣式的
內(nèi)部數(shù)據(jù)結(jié)構(gòu)沒(méi)有發(fā)生變化
你這個(gè)在mounted鉤子函數(shù)里面 輸出this.dataList[0] 確實(shí)是未定義的 沒(méi)有賦值
你activaed 鉤子函數(shù)是在 keep-alive組件激活時(shí)調(diào)用/ 通俗點(diǎn)講 也就是掛載完之后激活才賦值 所以上面
執(zhí)行mounted函數(shù)時(shí)未定義
或者 測(cè)試數(shù)據(jù)結(jié)構(gòu)變化最簡(jiǎn)單 typeof 一下this.dataList就OK了
做了服務(wù)端渲染吧,這是一個(gè)警告,大意是說(shuō)你的客戶(hù)端的渲染和服務(wù)端的渲染輸出的組件的checksum這個(gè)東西輸出不一致,應(yīng)該是你渲染的組件在第一次render前做了什么操作
北大青鳥(niǎo)APTECH成立于1999年。依托北京大學(xué)優(yōu)質(zhì)雄厚的教育資源和背景,秉承“教育改變生活”的發(fā)展理念,致力于培養(yǎng)中國(guó)IT技能型緊缺人才,是大數(shù)據(jù)專(zhuān)業(yè)的國(guó)家
北大青鳥(niǎo)中博軟件學(xué)院創(chuàng)立于2003年,作為華東區(qū)著名互聯(lián)網(wǎng)學(xué)院和江蘇省首批服務(wù)外包人才培訓(xùn)基地,中博成功培育了近30000名軟件工程師走向高薪崗位,合作企業(yè)超4
中公教育集團(tuán)創(chuàng)建于1999年,經(jīng)過(guò)二十年潛心發(fā)展,已由一家北大畢業(yè)生自主創(chuàng)業(yè)的信息技術(shù)與教育服務(wù)機(jī)構(gòu),發(fā)展為教育服務(wù)業(yè)的綜合性企業(yè)集團(tuán),成為集合面授教學(xué)培訓(xùn)、網(wǎng)
達(dá)內(nèi)教育集團(tuán)成立于2002年,是一家由留學(xué)海歸創(chuàng)辦的高端職業(yè)教育培訓(xùn)機(jī)構(gòu),是中國(guó)一站式人才培養(yǎng)平臺(tái)、一站式人才輸送平臺(tái)。2014年4月3日在美國(guó)成功上市,融資1
曾工作于聯(lián)想擔(dān)任系統(tǒng)開(kāi)發(fā)工程師,曾在博彥科技股份有限公司擔(dān)任項(xiàng)目經(jīng)理從事移動(dòng)互聯(lián)網(wǎng)管理及研發(fā)工作,曾創(chuàng)辦藍(lán)懿科技有限責(zé)任公司從事總經(jīng)理職務(wù)負(fù)責(zé)iOS教學(xué)及管理工作。
浪潮集團(tuán)項(xiàng)目經(jīng)理。精通Java與.NET 技術(shù), 熟練的跨平臺(tái)面向?qū)ο箝_(kāi)發(fā)經(jīng)驗(yàn),技術(shù)功底深厚。 授課風(fēng)格 授課風(fēng)格清新自然、條理清晰、主次分明、重點(diǎn)難點(diǎn)突出、引人入勝。
精通HTML5和CSS3;Javascript及主流js庫(kù),具有快速界面開(kāi)發(fā)的能力,對(duì)瀏覽器兼容性、前端性能優(yōu)化等有深入理解。精通網(wǎng)頁(yè)制作和網(wǎng)頁(yè)游戲開(kāi)發(fā)。
具有10 年的Java 企業(yè)應(yīng)用開(kāi)發(fā)經(jīng)驗(yàn)。曾經(jīng)歷任德國(guó)Software AG 技術(shù)顧問(wèn),美國(guó)Dachieve 系統(tǒng)架構(gòu)師,美國(guó)AngelEngineers Inc. 系統(tǒng)架構(gòu)師。