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

鍍金池/ 問答
帥到炸 回答
  <audio src="${this.voice}"></audio>

這里用雙引號引起了會有問題吧。還有.children()返回的是一個集合,不好直接點audio的方法。

臭榴蓮 回答

這兩個不是一回事,js、css文件引用不到改assetsPublicPath。
css中的資源引用不到是因為其中的資源是相對于css的但是卻用了html的路徑。
修改此項:

return ExtractTextPlugin.extract({
    use: loaders,
    fallback: 'vue-style-loader',
    publicPath: '../../'  //加上這個
})

vue-cli2的這個配置在build/utils.js里,自己配了css提取插件的自己肯定知道在哪,vue-cli3的話我就不知道了。

解夏 回答

all的參數(shù)里面不要加[]

局外人 回答
TypeError: response.data.forEach is not a function

response.data不是數(shù)組,所以沒有forEach這個方法。response.data.results才是你需要的數(shù)組吧

TypeError: Cannot read property 'id' of null.

allMenuLabel沒有id這個字段啊,自然報錯

vue.common.js:1743 TypeError: Cannot read property 'id' of undefined
<dl v-if="goods_list" v-for="(item,index) in goods_list.goods_list">
                                <dt><router-link :to="'/app/home/productDetail/'+item.goods.id" target = _blank><img :src="item.goods.goods_front_image"></router-link></dt>
                                <dd>
                                  <h4><router-link :to="'/app/home/productDetail/'+item.goods.id" target = _blank>{{item.goods.name}}</router-link></h4>
                                  <p><span class="red">{{item.goods.shop_price}}</span>&nbsp;<i>X</i>&nbsp;{{item.nums}}</p>
                                  <a title="刪除" class="iconfont del" @click="deleteGoods(index,item.goods.id)">×</a></dd>
                              </dl>

goods.id是在goods_list.goods_list.results[index].goods下面吧,你代碼里是不是有點問題??

墨染殤 回答

template 中設置select控件的ref屬性

<Select v-model="cubForm.chargeUserId" 
                filterable clearable remote :remote-method="remoteMethod2"
                :loading="loading2" ref="setQuery">
          <Option v-for="item in userList" :key="item.id" :value="item.id" :label="item.name"
                  style="width: 250px">
          </Option>
        </Select>

script中調用

this.$refs.setQuery.setQuery(value) //【value】為你所需要查詢的字符串或數(shù)值
吢丕 回答

<style>

#box .square{
    position: absolute;
    padding:10% 10%;
    background: red;
    position:absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

</style>
<div id="box">

<div class="square">
</div>

</div>

嫑吢丕 回答

說句你不喜歡聽的。我們做過比你這復雜10倍的表單。

出現(xiàn)你描述現(xiàn)象的問題,大多都是解決思路的問題。單擊新增的時候,不要想著給頁面插數(shù)據(jù),而是給數(shù)據(jù)插數(shù)據(jù)。
state數(shù)據(jù)改變的時候,render就會重新渲然。
當你把所有的操作都當作對數(shù)據(jù)的操作時,你會發(fā)現(xiàn),很多復雜的東西變得很簡單。

表單插入最容易出問題的不是你提到的,而是在刪除插入表單的時候,錄入的數(shù)據(jù)顯示問題。
解決辦法就是每次add時,確保一個永遠都不會重復的id作為key。

扯機薄 回答

通過 _viewer.impl.modelQueue().getModels() 獲取model 數(shù)組

firstmodel = _viewer.impl.modelQueue().getModels()[0].
對應調用firstmodel.getFragmentList();即可。
感謝康大神

悶騷型 回答

在模型中 請使用 protected $name='member';(會自動加前綴)
或者 protected $table='addons_member';(不會自動加前綴)

懷中人 回答

其實這個不用你自己實現(xiàn),你直接使用現(xiàn)成的就可以了,新浪和騰訊貌似都有對應的獲取接口,只需用 js 就行。例如 新浪實時股票數(shù)據(jù)接口

妖妖 回答

var a="show"; 在方法里面啊

有你在 回答

@felix 我把來自于felix的評論分享一下吧。跟上面的幾個大神說的都是一樣的,但是他貼了個官方的文檔,所以可能會更清晰完美一些。還是謝謝上面的幾個大神的幫助。下面是答案。
參見于gcc官方文檔 可以知道,這是一個C99的特性,可以使用變量名來定義數(shù)組長度,但是對于C++而言是一個可選特性。
另外,在陳浩的酷客發(fā)現(xiàn)了這么一篇文章,對于理解數(shù)組亂七八糟的東西還是挺有幫助的。謝謝各位。

北城荒 回答

v-input這個渲染出來是一個div?v-model不支持的

遺莣 回答

flow
沒記錯的話是 flow