摘要:
赟 1y 根据拼音首字母查找 物理连续 2贝 根据偏旁查找 逻辑连续 索引 目的:提交数据的检索效率 主键默认为聚集索引 索引相当于是数据库表的一种特殊的目录。SQLServer提供了两种索引:聚集索引和非聚集索引。 注意:一张表只能有一个聚集索引,通常情况下是主键,并不是必须为主键。 聚集索引 表 阅读全文
posted @ 2021-06-23 10:35
shui~
阅读(88)
评论(0)
推荐(0)
摘要:
<div id="app"> {{flag?name1:name2}}<br /> {{message.split("").reverse().join("")}}<br />//将字符串倒转 <input type="text" v-model="firstName" placeholder="f 阅读全文
posted @ 2021-06-17 22:12
shui~
阅读(53)
评论(0)
推荐(0)
摘要:
<div id="app"> <input type="text" v-model="todo" @keyup.enter="addData" /><br /> <h4> 正在进行</h4> <ul><li v-for="(item,index) in list" :key="index" v-sh 阅读全文
posted @ 2021-06-17 22:08
shui~
阅读(292)
评论(0)
推荐(0)
摘要:
<div id="people_list"> <ul> <li>姓 名:<input type="text" id="username" /></li> <li>年 龄:<input type="text" ref="age" /></li> </ul> <button @click="doSubm 阅读全文
posted @ 2021-06-17 17:32
shui~
阅读(254)
评论(0)
推荐(0)
摘要:
<div id="app"> <button data-aid="123" @click="evenFn($event)">事件对象</button><br /> <button @click="warn('传入的参数',$event)">绑定多个事件对象</button><br /> <butto 阅读全文
posted @ 2021-06-17 16:34
shui~
阅读(72)
评论(0)
推荐(0)
摘要:
首先vue就是一个MVVM模型。 vuejs常用指令: v-if指令 v-show指令 v-else指令 v-for指令 v-bind指令 v-on指令 v-if指令 v-if是条件渲染指令,它根据表达式的真假来删除和插入元素基本语法:v-if="expression"expression是一个返回 阅读全文
posted @ 2021-06-17 10:11
shui~
阅读(41)
评论(0)
推荐(0)
摘要:
<div id="app"> <todo> <todo-title slot="todo-title" v-bind:title="title"></todo-title> <todo-items slot="todo-items" v-for="(item,index) in items" v-b 阅读全文
posted @ 2021-06-17 09:52
shui~
阅读(783)
评论(0)
推荐(0)
摘要:
<div id="app"> <ul> <my-component v-for="item in items" v-bind:item="item"></my-component> </ul> </div> <script type="text/javascript"> //定义组件my-compo 阅读全文
posted @ 2021-06-17 09:17
shui~
阅读(42)
评论(0)
推荐(0)
摘要:
<div id="app"> <ul> <li v-for="p in persons" v-on:click="itemShow(p)">主键:{{p.id}} 姓名:{{p.name}} 年龄:{{p.age}}</li> </ul> 主键:<input type="text" v-model= 阅读全文
posted @ 2021-06-15 11:20
shui~
阅读(4109)
评论(0)
推荐(0)
摘要:
<div id="app"> <input type="text" v-model="searchName"> {{test1}} <ul> <li v-for="p in test2">{{p.name}}</li> </ul> <ul> <li v-for="p in getPersons">i 阅读全文
posted @ 2021-06-15 11:16
shui~
阅读(197)
评论(0)
推荐(0)