arr.forEach((k,i) => {
Object.assign(k,arr1[i]);
})
得到的arr就是arr2,arr1不變
你開發(fā)的時(shí)候?qū)?ico放在與index.html項(xiàng)目同目錄下,那么./favicon.ico是能找到的。
注意:打包上線后,你應(yīng)該就只部署了dist目錄下的文件??!然后vue-cli是不會(huì)去處理這個(gè)目錄的資源文件。
建議:將favicon.ico放入static目錄,頁面中引入用href="./static/favicon.ico"
改完再試一下
valuePropName:{checkState}, => valuePropName: checkState,
initialValue:{enable} => initialValue: enable本機(jī)和服務(wù)器是一樣的啊。
你本機(jī)怎么用,服務(wù)器就怎么用。
這個(gè)效果沒辦法通過theme來統(tǒng)一處理,所以就只有通過重寫antd的樣式來處理了。
辦法是:
找到tree item對(duì)應(yīng)的樣式,然后重寫這個(gè)樣式。
getElementsByClassName() 方法返回所有指定類名的元素集合,注意結(jié)果是NodeList對(duì)象。
像你這個(gè)頁面中只有1個(gè)同名class可以通過gg[0].className="show";來實(shí)現(xiàn)效果
應(yīng)該是手機(jī)rom的問題,正常的rom應(yīng)該是會(huì)把虛擬鍵占用的屏幕高度減掉了,也就是變成更短的手機(jī)屏幕了
代碼看不出什么問題。
今天官網(wǎng)確實(shí)打不開,需要梯子才可以。
給你一個(gè)國內(nèi)鏡像:
antd
antd-mobile
官方說了IE7不支持,IE8似乎也不支持,不過你可以看看關(guān)于別人提的一個(gè)問題:
https://github.com/FortAwesom...
你可以去看看這個(gè)問題,看有沒有人有好的解決辦法。
粗略看了一下,這個(gè)人似乎解決了:
你可以仔細(xì)看看 。
ajax 用json 格式請(qǐng)求 服務(wù)端
服務(wù)端 可以 查詢之后 組成一個(gè)數(shù)組 然后 echo json_encode($array);exit; 返回json 數(shù)據(jù)
注意 PHP的 header 要設(shè)置 header('Content-type: application/json');
可以在markLine屬性下添加label對(duì)象,可以設(shè)置一些基礎(chǔ)的屬性,屬性有哪些,可以在echart配置中搜索:backgroundColor
label:{
normal:{
backgroundColor: '#6f8550',
padding: 6
}
},ESLint是一個(gè)檢查代碼質(zhì)量的工具,把這個(gè)關(guān)閉掉就可以了,關(guān)閉方法可以參考vue中關(guān)閉ESLint教程
把router改成 :router="true"看看:
<el-menu
mode="vertical"
theme="dark"
ref="navbar"
:default-active="$route.path"
:default-openeds="newRouter"
unique-opened
:router="true"
@select="selectMenu">
<nav-item
v-for="(item,n) in treeData"
:item="item"
:navIndex="String(n)"
:key="item.id">
</nav-item>
</el-menu>你解決了嗎? 我也遇到這個(gè)問題。。。心累啊
https://github.com/apache/inc...
線條樣式。
注: 修改 lineStyle 中的顏色不會(huì)影響圖例顏色,如果需要圖例顏色和折線圖顏色一致,需修改 itemStyle.normal.color,線條顏色默認(rèn)也會(huì)取改顏色。
margin-bottom寫成 "marginBottom"
https://packagist.org/package...
雖然不知道你為什么要下載那么古老的 2.0.5 的版本,但是 composer 官網(wǎng)上的 yiisoft/yii2-app-advanced 包并沒 2.0.5 版本。
現(xiàn)在 yiisoft/yii2-app-advanced 的最新版本是 2.0.14,可以使用如下命令進(jìn)行下載:
composer create-project yiisoft/yii2-app-advanced advanced 2.0.14
實(shí)際上,到目前為止,yii2框架核心的版本已經(jīng)是 2.0.15.1,安裝時(shí)composer 會(huì)自動(dòng)將其升級(jí)為最新版本。
[/tmp] ]$composer create-project yiisoft/yii2-app-advanced advanced 2.0.14
Installing yiisoft/yii2-app-advanced (2.0.14)
- Installing yiisoft/yii2-app-advanced (2.0.14): Loading from cache
Created project in advanced
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 59 installs, 0 updates, 0 removals
- Installing yiisoft/yii2-composer (2.0.6): Loading from cache
- Installing swiftmailer/swiftmailer (v5.4.9): Loading from cache
- Installing bower-asset/jquery (3.2.1): Loading from cache
- Installing bower-asset/yii2-pjax (2.0.7.1): Loading from cache
- Installing bower-asset/punycode (v1.3.2): Loading from cache
- Installing cebe/markdown (1.1.2): Loading from cache
- Installing ezyang/htmlpurifier (v4.10.0): Loading from cache
- Installing bower-asset/inputmask (3.3.11): Loading from cache
- Installing yiisoft/yii2 (2.0.15.1): Loading from cache
- Installing yiisoft/yii2-swiftmailer (2.0.7): Loading from cache
- Installing bower-asset/bootstrap (v3.3.7): Loading from cache
- Installing yiisoft/yii2-bootstrap (2.0.8): Loading from cache
- Installing yiisoft/yii2-debug (2.0.13): Loading from cache
- Installing bower-asset/typeahead.js (v0.11.1): Loading from cache
- Installing phpspec/php-diff (v1.1.0): Loading from cache
- Installing yiisoft/yii2-gii (2.0.6): Loading from cache
- Installing fzaninotto/faker (v1.7.1): Loading from cache
- Installing yiisoft/yii2-faker (2.0.4): Loading from cache
- Installing doctrine/instantiator (1.0.5): Loading from cache
- Installing phpunit/php-text-template (1.2.1): Loading from cache
- Installing sebastian/recursion-context (2.0.0): Loading from cache
- Installing sebastian/exporter (2.0.0): Loading from cache
- Installing phpunit/phpunit-mock-objects (3.4.4): Loading from cache
- Installing codeception/stub (1.0.2): Loading from cache
- Installing sebastian/diff (1.4.3): Loading from cache
- Installing sebastian/version (2.0.1): Loading from cache
- Installing sebastian/code-unit-reverse-lookup (1.0.1): Loading from cache
- Installing phpunit/php-file-iterator (1.4.5): Loading from cache
- Installing sebastian/resource-operations (1.0.0): Loading from cache
- Installing sebastian/comparator (1.2.4): Loading from cache
- Installing webmozart/assert (1.3.0): Loading from cache
- Installing phpdocumentor/reflection-common (1.0.1): Loading from cache
- Installing phpdocumentor/type-resolver (0.4.0): Loading from cache
- Installing phpdocumentor/reflection-docblock (3.3.2): Loading from cache
- Installing phpspec/prophecy (1.7.5): Loading from cache
- Installing myclabs/deep-copy (1.7.0): Loading from cache
- Installing phpunit/php-token-stream (1.4.12): Loading from cache
- Installing sebastian/environment (2.0.0): Loading from cache
- Installing phpunit/php-code-coverage (4.0.8): Loading from cache
- Installing phpunit/php-timer (1.0.9): Loading from cache
- Installing sebastian/global-state (1.1.1): Loading from cache
- Installing sebastian/object-enumerator (2.0.1): Loading from cache
- Installing symfony/yaml (v3.4.8): Downloading (100%)
- Installing phpunit/phpunit (5.7.27): Loading from cache
- Installing codeception/phpunit-wrapper (6.0.9): Downloading (100%)
- Installing behat/gherkin (v4.5.1): Downloading (100%)
- Installing symfony/polyfill-mbstring (v1.7.0): Loading from cache
- Installing symfony/dom-crawler (v3.4.8): Downloading (100%)
- Installing symfony/css-selector (v3.4.8): Downloading (100%)
- Installing symfony/browser-kit (v3.4.8): Downloading (100%)
- Installing symfony/event-dispatcher (v3.4.8): Downloading (100%)
- Installing psr/log (1.0.2): Loading from cache
- Installing symfony/debug (v3.4.8): Downloading (100%)
- Installing symfony/console (v3.4.8): Downloading (100%)
- Installing symfony/finder (v3.4.8): Downloading (100%)
- Installing psr/http-message (1.0.1): Loading from cache
- Installing guzzlehttp/psr7 (1.4.2): Loading from cache
- Installing codeception/base (2.4.1): Downloading (100%)
- Installing codeception/verify (0.3.3): Loading from cache
phpunit/phpunit-mock-objects suggests installing ext-soap (*)
phpunit/php-code-coverage suggests installing ext-xdebug (^2.5.1)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
phpunit/phpunit suggests installing ext-xdebug (*)
symfony/browser-kit suggests installing symfony/process ()
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/event-dispatcher suggests installing symfony/http-kernel ()
symfony/console suggests installing symfony/lock ()
symfony/console suggests installing symfony/process ()
codeception/base suggests installing aws/aws-sdk-php (For using AWS Auth in REST module and Queue module)
codeception/base suggests installing codeception/phpbuiltinserver (Start and stop PHP built-in web server for your tests)
codeception/base suggests installing codeception/specify (BDD-style code blocks)
codeception/base suggests installing flow/jsonpath (For using JSONPath in REST module)
codeception/base suggests installing league/factory-muffin (For DataFactory module)
codeception/base suggests installing league/factory-muffin-faker (For Faker support in DataFactory module)
codeception/base suggests installing phpseclib/phpseclib (for SFTP option in FTP Module)
codeception/base suggests installing stecman/symfony-console-completion (For BASH autocompletion)
codeception/base suggests installing symfony/phpunit-bridge (For phpunit-bridge support)
Writing lock file
Generating autoload files編碼轉(zhuǎn)成h264
node_modules iview 修改iview.css
Options
dangerouslyUseHTMLString 是否將 message 屬性作為 HTML 片段處理 boolean — false
this.$alert('你想要換行就用<br/>啊。想要縮進(jìn)就打 啊!,當(dāng)然還得加上 dangerouslyUseHTMLString 參數(shù)',{dangerouslyUseHTMLString:true})北大青鳥APTECH成立于1999年。依托北京大學(xué)優(yōu)質(zhì)雄厚的教育資源和背景,秉承“教育改變生活”的發(fā)展理念,致力于培養(yǎng)中國IT技能型緊缺人才,是大數(shù)據(jù)專業(yè)的國家
達(dá)內(nèi)教育集團(tuán)成立于2002年,是一家由留學(xué)海歸創(chuàng)辦的高端職業(yè)教育培訓(xùn)機(jī)構(gòu),是中國一站式人才培養(yǎng)平臺(tái)、一站式人才輸送平臺(tái)。2014年4月3日在美國成功上市,融資1
北大課工場(chǎng)是北京大學(xué)校辦產(chǎn)業(yè)為響應(yīng)國家深化產(chǎn)教融合/校企合作的政策,積極推進(jìn)“中國制造2025”,實(shí)現(xiàn)中華民族偉大復(fù)興的升級(jí)產(chǎn)業(yè)鏈。利用北京大學(xué)優(yōu)質(zhì)教育資源及背
博為峰,中國職業(yè)人才培訓(xùn)領(lǐng)域的先行者
曾工作于聯(lián)想擔(dān)任系統(tǒng)開發(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ū)ο箝_發(fā)經(jīng)驗(yàn),技術(shù)功底深厚。 授課風(fēng)格 授課風(fēng)格清新自然、條理清晰、主次分明、重點(diǎn)難點(diǎn)突出、引人入勝。
精通HTML5和CSS3;Javascript及主流js庫,具有快速界面開發(fā)的能力,對(duì)瀏覽器兼容性、前端性能優(yōu)化等有深入理解。精通網(wǎng)頁制作和網(wǎng)頁游戲開發(fā)。
具有10 年的Java 企業(yè)應(yīng)用開發(fā)經(jīng)驗(yàn)。曾經(jīng)歷任德國Software AG 技術(shù)顧問,美國Dachieve 系統(tǒng)架構(gòu)師,美國AngelEngineers Inc. 系統(tǒng)架構(gòu)師。