自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 布局日常记录

*日常记录1.绝对定位,有助于保证元素在窗口不同大小时的位置position: absolute;top: -50px;left: 0;right: 0;height: 50px;2.!!important;保证其元素不受其他元素位置调整影响。position: absolute!important;3.判断类是否存在if ($("#icon-a").hasClass(“icon-gengduo”))...

2021-02-24 16:55:52 65

原创 查询所有的存储过程

查询所有的存储过程SELECT name, definitionFROM sys.sql_modules AS mINNER JOIN sys.all_objects AS o ON m.object_id = o.object_id WHERE o.[type] = 'P' and name like '%供货商明细查询%'

2020-11-12 15:41:30 257

原创 数据库资源耗用查询

数据库资源耗用查询SELECT TOP 20 total_worker_time/1000 AS [总消耗CPU 时间(ms)],execution_count [运行次数], qs.total_worker_time/qs.execution_count/1000 AS [平均消耗CPU 时间(ms)], last_execution_time AS [最后一次执行时间],max_worker_time /1000 AS [最大执行时间(ms)], SUBSTRING(q

2020-11-12 15:38:01 206

原创 使用components结合template模板创建树

<div id="app"> <p>{{city}}</p> <my-heder></my-heder> </div> <script> var cityname = { template: '<a style="color:red">大写城市CQ</a>' } var myheder = { template: '<p>子组件&l..

2020-10-28 13:45:52 84

原创 自定义事件$on(eventName) 监听事件,使用 $emit(eventName) 触发事件

#自定义事件关键字:#$emit(‘ic’)自定义事件名componentmethodsfunciton<div id="button-event"> <p>{{city}}</p> <button-add v-on:ic="cqyb"></button-add> <button-add v-on:ic="cqyb"></button-add> </div> <script&gt

2020-10-27 10:21:38 344

原创 watch监听属性

1.watch方法调用,写法1 <body> <div id="app"> 千米:<input type="text" v-model="one"/> 米:<input type="text" v-model="two"/> <p>{{watching}}</p> </div> </body> <script type="text/javascript"> va

2020-10-23 11:19:55 145

原创 v-for

for模板循环 <div id="app"> <h1>模板中使用 v-for:</h1> <ol> <template v-for="site in i"> <!-- 模板中使用 v-for --> <li>模板循环: {{ site.name }} </li> <li>----------</li>

2020-10-19 13:57:02 77

原创 v-if表达式的值改变时,将某些行为应用到 DOM 上

v-if表达式判断v-if:表达式的值改变时,将某些行为应用到 DOM 上<div id="app"><p v-if="reen">如果reen布尔为真,我会显示在这里<p></div><script> new Vue({ el:'#app', data:{ reen:true } })</script>执行效果:...

2020-10-16 14:21:47 735 1

原创 Vue中实现文本框与标签的双向绑定

1.Vue中实现文本框与标签的双向绑定<!DOCTYPE html><html> <head> <meta charset="utf-8"> <title>v-model用来对 input、select、textarea、checkbox、radio等表单控件元素上创建双向数据绑定,根据表单上的值,自动更新绑定的元素的值。</title> </head> <script src="js/vue.js"

2020-10-15 13:58:46 3138 1

转载 SQLServer 利用profiler生成脚本在后台跟踪堵塞语句或慢查询语句

分享个SQLServer profiler 的一个技巧吧。很早用过,忘记总结了,现在再用时记录下来。当启用 SQLServer profiler 跟踪sql语句的时候,是非常方便的,同时也可以按照各个维度筛选跟踪。但是对于长时间跟踪,一直打开着profiler界面不是很好。有一个技巧是可以把profiler 的跟踪设置导出成sql 脚本,脚本可以在后台执行。以跟踪慢查询为例。

2017-12-05 08:50:21 682

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除