当前位置:网站首页>I don't know why it can't run in the project and how to change it
I don't know why it can't run in the project and how to change it
2022-07-04 01:37:00 【hamimelon2020】
<template>
<div>
<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>
</template>
<script>
export default {
name: 'Item',
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: {
Item,
},
data() {
return {
firstName: 'John',
lastName: 'Doe',
};
},
}
Vue.createApp(HelloVueApp)
</script>
边栏推荐
- Thinkphp6 integrated JWT method and detailed explanation of generation, removal and destruction
- Introduction to superresolution
- [typora installation package] old typera installation package, free version
- File contains vulnerability summary
- Force deduction solution summary 1189- maximum number of "balloons"
- Huawei rip and BFD linkage
- Force buckle day32
- Fundamentals of machine learning: feature selection with lasso
- Meta metauniverse female safety problems occur frequently. How to solve the related problems in the metauniverse?
- SRCNN:Learning a Deep Convolutional Network for Image Super-Resolution
猜你喜欢
SRCNN:Learning a Deep Convolutional Network for Image Super-Resolution
Use classname to modify style properties
Should enterprises start building progressive web applications?
Conditional statements of shell programming
AI helps make new breakthroughs in art design plagiarism retrieval! Professor Liu Fang's team paper was employed by ACM mm, a multimedia top-level conference
Introduction to Tianchi news recommendation: 4 Characteristic Engineering
LeetCode 168. Detailed explanation of Excel list name
ES6 deletes an attribute in all array objects through map, deconstruction and extension operators
be based on. NETCORE development blog project starblog - (14) realize theme switching function
Huawei BFD and NQA
随机推荐
Skku| autonomous handover decision of UAV Based on deep reinforcement learning
【.NET+MQTT】. Net6 environment to achieve mqtt communication, as well as bilateral message subscription and publishing code demonstration of server and client
Three layer switching ②
All in one 1407: stupid monkey
Introduction to superresolution
Characteristics of ginger
MySQL deadly serial question 2 -- are you familiar with MySQL index?
Meta metauniverse female safety problems occur frequently. How to solve the related problems in the metauniverse?
Flex flexible layout, box in the middle of the page
Huawei rip and BFD linkage
MySQL uses the view to report an error, explain/show can not be issued; lacking privileges for underlying table
Related configuration commands of Huawei rip
Infiltration learning diary day19
When the watch system of Jerry's is abnormal, it is used to restore the system [chapter]
MySQL -- Introduction and use of single line functions
C import Xls data method summary IV (upload file de duplication and database data De duplication)
Function: write function fun to find s=1^k+2^k +3^k ++ The value of n^k, (the cumulative sum of the K power of 1 to the K power of n).
Trading software programming
Introduction to unity shader essentials reading notes Chapter III unity shader Foundation
What are the advantages and disadvantages of data center agents?