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

鍍金池/ 問答

已解決,需要用getImageInfo先獲取圖片路徑,然后saveImageToPhotosAlbum保存到相冊

祉小皓 回答

看完了,沒毛病。
三元二次代替else if和代碼變量簡略(文件又減肥了)。

朽鹿 回答

這不是iphoneX獨有的問題,我之前碰到過,彈層顯示的同時,把body的定位置為fixed,給個寬度就好了

$('body').css({'position': 'fixed', 'width': '100%'});

彈層關(guān)閉的時候要重置回來

$('body').css({'position': 'relative'});
耍太極 回答
#!/bin/bash

res=`echo 2222222222 | md5sum | cut -d ' ' -f1`

echo "res: " ${res}
亮瞎她 回答
server {
    listen 80; 
    server_name www.example.cn;
    
    if ($query_string ~* "id=(\d+)") {
       set $id $1; 
       rewrite ^(.*)$ /mise/$id.html? permanent;  
    }   
}

不要多次提問題了。

柚稚 回答

你在chrome瀏覽器上打開F12看一下圖片圖顯示情況,再做進一步判斷

笑浮塵 回答

Promise.all()

陌上花 回答

跟JWPlayer的開發(fā)者溝通了下,原來是因為版本問題,汗顏~~~ 必須定制版才行,個人版或者商業(yè)版是沒有mobiles SDKs的 這就有點坑了,巨貴。。 - -!

笨笨噠 回答

CONNECT 方法是給代理用的,比如你設(shè)置HTTPS代理,那個發(fā)給代理服務(wù)器的就是 CONNECT 方法

挽歌 回答

This class is thread-safe: multiple threads can share a single Timer object without the need for external synchronization.

https://docs.oracle.com/javas...

遲月 回答

<el-form-item label="照片" prop="txlj" :required="ksxx.sfscsfz==='1'">
...
</el-form-item>

墨小白 回答

許久沒有管這個事情……自問自答了……
翻了一下評論曰實際上是一個fat文件系統(tǒng)權(quán)限的問題……說是說不能叫做bug……但是總之就當個注意點吧……
參考ben at indietorrent dot org 的回答……
也就是復(fù)制到fat格式的文件系統(tǒng)上時會產(chǎn)生如此的錯誤……

From the Changelog notes:

"Warnings may be generated if the destination filesystem doesn't permit chown() or chmod() system calls to be made on files — for example, if the destination filesystem is a FAT filesystem."

More explicitly, rename() may still return (bool) true, despite the warnings that result from the underlying calls to chown() or chmod(). This behavior can be misleading absent a deeper understanding of the underlying mechanics. To rename across filesystems, PHP "fakes it" by calling copy(), unlink(), chown(), and chmod() (not necessarily in that order). See PHP bug #50676 for more information.

On UNIX-like operating systems, filesystems may be mounted with an explicit uid and/or gid (for example, with mount options "uid=someuser,gid=somegroup"). Attempting to call rename() with such a destination filesystem will cause an "Operation not permitted" warning, even though the file is indeed renamed and rename() returns (bool) true.

This is not a bug. Either handle the warning as is appropriate to your use-case, or call copy() and then unlink(), which will avoid the doomed calls to chown() and chmod(), thereby eliminating the warning.
囍槑 回答

你的輸出格式應(yīng)該有問題,起碼
label: 'AAA', department:'AAA-D1', office: 'AAA-D1-O1', pass: 6, onhold: 15, // company level 是不合理的,最多是label: 'AAA', pass: 6, onhold: 15, // company level
如果數(shù)據(jù)能夠保證全是這樣的結(jié)構(gòu)(只有如上的3級),其實還是比較好處理的。

var moriginalData= [
        { company: 'AAA', department:'AAA-D1', office: 'AAA-D1-O1', pass: 1, onhold: 3},
        { company: 'AAA', department:'AAA-D1', office: 'AAA-D1-O2', pass: 3, onhold: 5},
        { company: 'AAA', department:'AAA-D2', office: 'AAA-D2-O1', pass: 2, onhold: 7},
        { company: 'BBB', department:'BBB-D1', office: 'BBB-D1-O1', pass: 1, onhold: 3},
        { company: 'BBB', department:'BBB-D2', office: 'BBB-D2-O1', pass: 4, onhold: 3},
        { company: 'BBB', department:'BBB-D3', office: 'BBB-D3-O1', pass: 1, onhold: 3}
      ];
function a2o(originalData){
    var outData=[];
    var outObj={};
    for(var i=0;i<originalData.length;i++){
        var company= originalData[i].company;
        var department= originalData[i].department;
        var office={label:originalData[i].office, pass:originalData[i].pass, onhold:originalData[i].onhold};
        if(outObj[company]===undefined){
            outObj[company]={childrenKey:[], pass:0, onhold:0};
        }
        if(outObj[company][department]===undefined){
            outObj[company][department]={children:[], pass:0, onhold:0 };
            outObj[company].childrenKey.push(department)
        }
        outObj[company][department].children.push(office);

        outObj[company][department].pass=outObj[company][department].pass+office.pass;
        outObj[company].pass=outObj[company].pass+office.pass;

        outObj[company][department].onhold=outObj[company][department].onhold+office.onhold;
        outObj[company].onhold=outObj[company].onhold+office.onhold;
    }
    for( var com in outObj){
        var tmpA={label:com, pass:outObj[com].pass, onhold:outObj[com].onhold, children:[]};
        for (var j=0; j<outObj[com].childrenKey.length; j++ ){
            var tD=outObj[com][ outObj[com].childrenKey[j] ];
            tmpA.children.push({label:outObj[com].childrenKey[j] ,
                                pass:tD.pass , 
                                onhold:tD.onhold ,
                                children:tD.children} );
        }
        outData.push(tmpA);
    }
    return outData;
}   

var treeDate=a2o(moriginalData)
console.log(treeDate);  
青瓷 回答

比較推薦重新請求,對于vue的話。就算你重新請求后渲染組件之后也對用戶體驗沒有太大影響,但是你插入的數(shù)據(jù)不見得就會操作成功,如果response error的話,那豈不是還要在當前頁面把新加的數(shù)據(jù)刪掉。

擱淺 回答

if (!value || value === oldValue) {

            if (conf.onChange) {
                conf.onChange();
            }
        }
else{
 getPagination();
}

這樣呢