亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

javascript - The element-ui component selector of vuejs2.0 cannot display the selected content
我想大聲告訴你
我想大聲告訴你 2017-05-19 10:19:14
0
5
1376

1. The element-ui component selector of vuejs2.0 cannot display the selected content

2、`<template>
<el-select v-model="value4" clearable placeholder="Please select">

<el-option
  v-for="item in options"
  :label="item.label"
  :value="item.value">
</el-option>

</el-select>
</template>

<script>
export default {

data() {
  return {
    options: [{
      value: '選項1',
      label: '黃金糕'
    }, {
      value: '選項2',
      label: '雙皮奶'
    }, {
      value: '選項3',
      label: '蚵仔煎'
    }, {
      value: '選項4',
      label: '龍須面'
    }, {
      value: '選項5',
      label: '北京烤鴨'
    }],
    value4: ''
  }
}

}
</script>`

3. There is no problem in the official website implementation. Problems occur when leaving the official website platform. The same situation occurs when downloading a demo on GitHub.

4. Please ask friends who have been through the pit to help guide you. . .

我想大聲告訴你
我想大聲告訴你

reply all(5)
給我你的懷抱

Element 1.3.0 will only be compatible with Vue 2.3.0 and above

伊謝爾倫

After upgrading to Element 1.3.0 and Vue 2.3.0, this problem was solved. Thank you everyone!

巴扎黑

I also encountered a similar problem. I used the latest https://unpkg.com/element-ui@..., https://unpkg.com/element-ui@..., and it worked fine in vue2.2.1.

為情所困

It should be a version problem, I just got through the trap

阿神

The methods of Floor 1 and Floor 2 are correct. I also encountered the same problem. After changing the version, there was no problem.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template