当前位置:网站首页>v-text指令:设置标签内容
v-text指令:设置标签内容
2022-08-03 03:43:00 【爱雨天】



<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div id="app">
<h2 v-text="message+'!'">李梓健</h2>
<h2 v-text="info+'!'">李梓健</h2>
<h2>{
{message+'!'}}李梓健</h2>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script>
var app=new Vue({
el:"#app",
data:{
message:"你好,许嘉茵!",
info:"许静茹"
}
}
)
</script>
</body>
</html>

边栏推荐
- 寄存器(内存访问)
- 怎么用redis限制同一ip重复刷浏览量
- Dynamically modify the title of the navigation bar in uniapp
- shell之条件语句(条件测试、if语句,case语句)
- Ask next useful SQL server flink - SQL - connector - essentially a CDC - 2
- 视频中场的概念(1080I和1080P)和BT601/656/709/1120/2020/2077
- 软件测试技术之如何编写测试用例(2)
- Auto. Js scripts run time calculated Pro
- js的组成及js样式
- 一文了解SAP IBP是什么?
猜你喜欢
随机推荐
HI3521D 烧录128M nand flash文件系统过程-一定要注意flash的容量
ROS2自学笔记:机器视觉基础
LeetCode算法日记:面试题 03.04. 化栈为队
金仓数据库 Pro*C 迁移指南( 5. 程序开发示例)
stdio.h(本机代码)
【obs】启动推流失败 : Output.StartStreamFailed 调用流程
js Fetch返回数据res.json()报错问题
【无标题】2022-7-24
【翻译】开发与生产中的Kubernetes修复成本对比
肖sir__面试接口测试
肖sir__面试就业课___数据库
Task Scheduler 计划定时任务,修改时报错: One or more of the specified arguments are not valid
单元测试是什么?怎么写?主要测试什么?
leetcode刷题学习之路
Jincang Database Pro*C Migration Guide (3. KingbaseES Pr*oc Compatibility with Oracle Pro*c)
Chapter 8 Character Input Output and Input Validation
MediaRecorder录制屏幕时在部分机型上报错prepare failed:-22
shell之条件语句(条件测试、if语句,case语句)
sql问题,如何能做到先声明表的名称,例如product202201,表示2022年一月份的货物表,再在声明过的表中查找,下面的代码运行时有错误显示找不到表table_name,请问改如何进行修改
金仓数据库 Pro*C 迁移指南(3. KingbaseES Pr*oc 对 Oracle Pro*c 的兼容)








