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

鍍金池/ 問答
萌二代 回答

WXML

<button bindtap="startRecord">開始錄音</button>

demo.js

startRecord: function() {
    wx.startRecord({
      success: function(res) {
        var tempFilePath = res.tempFilePath 
      },
      fail: function(res) {
         //錄音失敗
      }
    })
}
巴扎嘿 回答

恭喜你, 遇到了一個編譯器的bug
這是gcc以前的一個bug: https://gcc.gnu.org/bugzilla/...
可能5.0以后才修好了.
clang也有類似的bug: https://bugs.llvm.org/show_bu... 里面的解釋值得一讀, 我節(jié)選下:

template<typename T> T end(T);

template <typename T>
void Foo() {
  T it1;
  if (it1->end < it1->end) {
  }
}

Foo() is trying to use a public member variable of "*it1". Because there's a global template with the same name, it interprets the subsequent '<' as starting a template instantiation, and then finds trouble many tokens later when there's no matching '>'.

  1. possible fixit is to add parentheses around "it1->end".
巫婆 回答

如果上級網(wǎng)絡有軟路由有類似功能的話可以直接設置,一般在DNS設置那里或者類似的位置~如果沒這條件的話那就只能自己在服務器上部署域名解析了,然后再讓要訪問的機器的DNS都指向這臺服務器(可以寫到DHCP里)。

玄鳥 回答

你是說event.target可能是titlesub?
如果是這個意思的話,這跟vue和jquery都沒關系。
取綁定事件的元素的話是用event.currentTarget
自己看,別用self,跟vue沒關系,就是event.targetevent.currentTarget的區(qū)別

https://jsfiddle.net/o6xox400/3/

玩控 回答

case when 語句是無法實現(xiàn)的, A 關聯(lián) B 后是多條數(shù)據(jù), 那么 case when 出來的結果沒法合并成一行.

如果說, 條件固定 也就是 paraid 只有

當paraid=100時,別名為 name
當paraid=103時,別名為 companyName
當paraid=106時,別名為 companyAddress
當paraid=109時,別名為 avatar
當paraid=112時,別名為 companyAbout

或者是確定的情況下, 可以通過下面的 sql 語句實現(xiàn)

select
a.id, b.info as name, e.info as companyName
from a
left join (
select listid, info from b where paraid=100
) as n on a.id=n.listid
left jion ( 
select listid, info from b where paraid=103
) as e on a.id=e.listid
left join ...

一對多關系, 要合并數(shù)據(jù) sql 實現(xiàn)可以考慮此方法.

離夢 回答

直接寫成絕對路徑便可:/static/img/head.PNG

心癌 回答

換成easy_install吧,參考http://blog.csdn.net/xiaopiha...

中國版的windows的默認編碼是GBK,你報的錯誤是無法解析成utf8,估計是pip裝的ipython沒對中國版的windows進行兼容處理

或者下面這種處理方式(個人不推薦)
d:\python\lib\site-packages\pip\compat\__init__.py的第75行,把s.decode('utf_8')修改為s.decode('gbk')

敢試 回答

我把代碼刪了重寫了一遍,好使了!!!!!!!!!代碼前后比對無變化!!!!!!

溫衫 回答

myButton.js

import {Button} from 'antd'
export default props => {
  if(!(props && props.hasOwnProperty('ghost'))) {
    props = {...props, ghost: true}; 
  }
  return <Button {...props}>{props.children}</Button>
}

using

import Button from './myButton.js';
<Button>確定</Button>
負我心 回答

這個彈幕滾動的動畫效果一般都是定時函數(shù)setInterval做的,當你停下的時候就cleanInterval就行了,
動畫函數(shù)的內容類似輪播,滾動播放那些插件的內容,修改的都是當前字幕的dom對象樣式,所以刪除定時的時候彈幕就停下了

初念 回答

PHP支持數(shù)據(jù)中的數(shù)據(jù)是多類型的嗎?

蟲児飛 回答

1、請求異步加載,限制并發(fā)請求數(shù)量,別一次發(fā)送多個請求,就算是多個,記住一定要異步
2、圖片的路徑添加通過文檔加載完畢后在js中添加圖片路徑,因為頁面加載時遇到img標簽會去加載圖片,圖片較大的話加載時間就長,可以全文先用一張圖片先占位,最后再通過js更改圖片路徑
3、使用CDN,特別是大圖片就更需要CDN了,不然請求很慢

兔寶寶 回答

npm uninstall webpack --save-dev
npm install webpack@3.6.0 --save-dev
我是使用3.6的版本解決了