当前位置:网站首页>Why can't it run (unresolved)
Why can't it run (unresolved)
2022-07-04 01:37:00 【hamimelon2020】
<!DOCTYPE html>
<div id="v-model-example" class="demo">
<p>First name: {
{
firstName }}</p>
<p>Last name: {
{
lastName }}</p>
<user-name
v-model:first-name="firstName"
v-model:last-name="lastName">
</user-name>
</div>
<script src="https://unpkg.com/[email protected]"></script>
<script>
const app = Vue.createApp({
});
const UserName = {
props: {
firstName: String,
lastName: String
},
emits: ['update:firstName', 'update:lastName'],
template: ` <input type="text" :value="firstName @input="$emit('update:firstName', $event.target.value)"> <input type="text" :value="lastName @input="$emit('update:lastName', $event.target.value)"> `
};
const HelloVueApp = {
components: {
UserName,
},
data() {
return {
firstName: 'John',
lastName: 'Doe',
};
},
}
Vue.createApp(HelloVueApp).mount('#v-model-example')
边栏推荐
- Remember a lazy query error
- Oracle database knowledge points (I)
- C import Xls data method summary II (save the uploaded file to the DataTable instance object)
- Lightweight Pyramid Networks for Image Deraining
- 求esp32C3板子连接mssql方法
- MySQL deadly serial question 2 -- are you familiar with MySQL index?
- Pyrethroid pesticide intermediates - market status and future development trend
- AI 助力艺术设计抄袭检索新突破!刘芳教授团队论文被多媒体顶级会议ACM MM录用
- “疫”起坚守 保障数据中台服务“不打烊”
- Difference between value and placeholder
猜你喜欢
Mobile asynchronous sending SMS verification code solution -efficiency+redis
Pyinstaller packaging py script warning:lib not found and other related issues
Pratique technique | analyse et solution des défaillances en ligne (Partie 1)
Hash table, string hash (special KMP)
HackTheBox-baby breaking grad
Thinkphp6 integrated JWT method and detailed explanation of generation, removal and destruction
Douban scoring applet Part-3
在寻求人类智能AI的过程中,Meta将赌注押向了自监督学习
长文综述:大脑中的熵、自由能、对称性和动力学
“疫”起坚守 保障数据中台服务“不打烊”
随机推荐
File contains vulnerability summary
How to use AHAS to ensure the stability of Web services?
Query efficiency increased by 10 times! Three optimization schemes to help you solve the deep paging problem of MySQL
CesiumJS 2022^ 源码解读[8] - 资源封装与多线程
Human resource management online assignment
Gnupg website
MySQL uses the view to report an error, explain/show can not be issued; lacking privileges for underlying table
Three layer switching ②
Solution of cursor thickening
Huawei rip and BFD linkage
Typescript basic knowledge sorting
Conditional test, if, case conditional test statements of shell script
Trading software programming
Luogu p1309 Swiss wheel
Douban scoring applet Part-3
How can enterprises optimize the best cost of cloud computing?
What are the advantages and disadvantages of data center agents?
Related configuration commands of Huawei rip
Fundamentals of machine learning: feature selection with lasso
Meta metauniverse female safety problems occur frequently, how to solve the relevant problems in the metauniverse?