当前位置:网站首页>elment-plus图标input上面带的图标为什么不显示
elment-plus图标input上面带的图标为什么不显示
2022-07-28 20:46:00 【夏天想】
<el-row :gutter="20">
<span class="ml-3 w-35 text-gray-600 inline-flex items-center"
>Using attributes</span
>
<el-input
v-model="input1"
class="w-50 m-2"
placeholder="Pick a date"
:suffix-icon="Calendar"
/>
<el-input
v-model="input2"
class="w-50 m-2"
placeholder="Type something"
:prefix-icon="Search"
/>
</el-row>import { Calendar, Search } from '@element-plus/icons-vue'
export default {
setup() {
const input1 = ref('')
const input2 = ref('')}
}
完全按照官方的方法写的但是不显示啊
最后知道了,你还要在setup里面return啊啊啊啊啊
setup() {
const input1 = ref('')
const input2 = ref('')
return {
Calendar,
Search,
}
},边栏推荐
- Summary of the use of hash table set and map when leetcode brushes questions
- Sword finger offer II 066. sum of words (medium prefix tree design string)
- Why is 0.1 + 0.2 not equal to 0.3? How to solve this problem?
- 【二叉树】二叉树中的伪回文路径
- Jmeter 安装第三方插件 Plugins Manager
- HCIP(11)
- Ultra detailed visual studio 2019 running littlevgl (lvgl) simulator
- Hcip seventh experiment
- HCIP第七次实验
- Learning notes and summary of C language programming specification
猜你喜欢

Sword finger offer II 055. Binary search tree iterator (medium binary search tree iterator)

(翻译)图技术简明历史

Changes in the history of oscilloscope development

Win11 how to open software notification

Establishment of Ruiji takeout development environment

SQL注入 Less38(堆叠注入)

Future trend of defi in bear market

98. Verify binary search tree (medium binary search tree DFS)

Sword finger offer II 053. Medium order successor in binary search tree (medium binary search tree DFS)

JMeter installs third-party plug-ins plugins Manager
随机推荐
Changes in the history of oscilloscope development
Ultra detailed visual studio 2019 running littlevgl (lvgl) simulator
Win11怎么打开软件通知
HCIP(10)
Sword finger offer II 063. replacement word (medium prefix tree string)
Part 8: creating camera classes
What is a prime factor? In number theory, a prime factor (prime factor or prime factor) refers to a prime number that can divide a given positive integer
Kali source solution software cannot be installed correctly
JS array merging, de duplication, dimensionality reduction (es6: extended operator, set)
Win11 how to open software notification
Sword finger offer II 067. maximum XOR (medium prefix tree bit operation array)
Netease Yunxin 2022q2 product supply station, come and get your product supply plan!
HCIP(9)
Openresty request authentication
array_ diff_ The method of not comparing array values when Assoc element is an array
Lvs+keepalived high availability deployment practical application
From Web3 to web2.5, is it backward or another way?
Hcip experiment (14)
2021年数学建模B组代码
mysql8.0无法给用户授权或提示You are not allowed to create a user with GRANT的问题