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

鍍金池/ 問答
夕顏 回答

文檔中有提供close方法的

http://element-cn.eleme.io/#/...

const notifyAction = this.$notify('xxx...')
notifyAction.close()
咕嚕嚕 回答

可以試試在請求的回調(diào)里面在this.nextTick(function () { this.initScroll() })試試

兔囡囡 回答

首先在AppModule中導(dǎo)入你寫的pipe,然后重啟下服務(wù)。
不過你寫的pipe可能實現(xiàn)不了你要的功能,具體見:https://stackoverflow.com/que...

陌南塵 回答

不通過 input標(biāo)簽上傳文件,前端應(yīng)該是不能讀取excel文件的。
你通過XLSX.js解析excel文件,得到的不就是一個數(shù)組嘛。所以剛開始你沒必要讀取excel文件,可以事先把這個excel文件先轉(zhuǎn)成數(shù)組,直接使用。

來守候 回答

已解決,之前是用multer的時候設(shè)置出了一點錯誤

糖果果 回答
<div class="info-file" ng-repeat="item in info">
    <button class="btn" ng-click="toEdit(item)" ng-show="item.editPara">編輯</button>
    <button class="btn" ng-click="add(item)" ng-hide="item.editPara">保存</button>
    <div class="form-group">
        <label class="label">姓名:</label>
        <input class="input" name="name" ng-model="item.name" ng-hide="item.editPara">
        <span class="span info-span" ng-show="item.editPara">{{item.name}}</span>
    </div>
    <div class="form-group">
        <label class="label">年齡:</label>
        <input class="input" name="age" ng-model="item.age" ng-hide="item.editPara">
        <span class="span info-span" ng-show="item.editPara">{{item.age}}</span>
    </div>
</div>

數(shù)組中的每個對象都附加上編輯標(biāo)準(zhǔn) ,再點擊時把item傳入函數(shù)里就能達到編輯某一個的目的

哚蕾咪 回答

一步搞定的事為什么要分2步??

var max = 0;
for (var i=0;i<arr.length;i++)
{
    if(max < arr[i][1])
    {
        max = arr[i][1];
    }
}
console.log(max);
安若晴 回答

子組件

// js
props: {
    // ...
    activeName: {} // 添加新的prop
},
computed: {
    tabStyle () { // 把tabStyle從data中移除,放到計算屬性里面
        return {
            "selected-box": this.name === this.activeName,
            "unselected-box": this.name !== this.activeName
        }
    }
},
methods: {
    tabClick (name) {
        this.isSelected = true;
        this.$emit("getTabName", name); // tabStyle通過計算屬性獲取,不再需要人工更新,borderChange方法可以去掉了
    }
}

父組件

// template: 添加一個active-name
<TabBox @getTabName="getTabName" :name="_item.name" :boxstyle="styles" v-for="(_item,_index) in item.categoryList" :key="_index" :active-name="activeName"></TabBox>

// js
data () {
    return {
        // ...
        activeName: ''
    }
},
methods: {
    getTabName (name) {
        this.activeName = name // 子組件點擊的時候,父組件更新activeName的值
    }
}
筱饞貓 回答

embed 是嵌入內(nèi)容標(biāo)簽,iframe升級版。embed的實際高度是自定的,實際的pdf高度與embed的高度無關(guān)。pdf的具體高度可以通過計算獲得,通過頁碼和分辨率

柒槿年 回答

你這個網(wǎng)頁發(fā)現(xiàn)是微信登錄后跳轉(zhuǎn)到https://m.iulicai.com/user/registrationEntrance.html,這個頁面顯示404
你可以在開發(fā)者工具中設(shè)置user-agent為Mozilla/5.0 (Linux; Android 6.0; 1503-M02 Build/MRA58K) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/37.0.0.0 Mobile MQQBrowser/6.2 TBS/036558 Safari/537.36 MicroMessenger/6.3.25.861 NetType/WIFI Language/zh_CN,400*700,mobile來查看。

別瞎鬧 回答

換瀏覽器看看

心夠野 回答

this為執(zhí)行時的上下文環(huán)境,箭頭函數(shù)沒有this,也就意味著你這里拿到的this其實是箭頭函數(shù)外層的this指向,也就是a所處的執(zhí)行上下文。

離觴 回答

如果只是想知道ajax請求的url用fiddler之類的工具抓一下包就行了。

魚梓 回答

composer 在安裝時,一般需要下載包并解壓縮,因此服務(wù)器上需要安裝解壓程序

何蘇葉 回答

好像沒辦法做到完美的圓。不過你的截圖上看其實是邊緣太銳利造成的,可以簡單改造一下讓圖形柔和一點,如下:

clipboard.png

.box{
    position: relative;
    width: 300px;
    height: 140px;
    background: red;

}
.box:before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 20px;

    background: radial-gradient(farthest-corner, #fff 50%, rgba(255, 255, 255, .5) 53%, rgba(255, 255, 255, 0) 0%);
    background-size: 20px 20px;
    background-repeat: repeat-y;
}
.box:after{
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 20px;

    background: radial-gradient(farthest-corner, #fff 50%, rgba(255, 255, 255, .5) 53%, rgba(255, 255, 255, 0) 0%);
    background-size: 20px 20px;
    background-repeat: repeat-y;
}