<div id="app"> <todo> <todo-title slot="todo-title" :title="title"></todo-title> <todo-item slot="todo-item" v-for="(item,index) in items" :item="item ...
分类:
其他好文 时间:
2021-01-27 13:25:45
阅读次数:
0
背景:gitalk需要人工访问文章页才能触发创建issue 其实有个更简便的方式,当我们push代码到github时,可以利用github action的自动化流程自动执行下面的python脚本来创建issue,在编写Github Action时,设定触发条件为push,详细的yml脚本内容为: c ...
分类:
编程语言 时间:
2021-01-26 12:36:45
阅读次数:
0
首先明白返回的方法(RedirectToRouteResult),主要讲两种他的重载,其它请看后面代码 1. protected internal RedirectToRouteResult RedirectToAction(string actionName);这个比较简单直接上代码 1 publ ...
分类:
Web程序 时间:
2021-01-26 12:22:20
阅读次数:
0
8.1 圆角边框 在CSS3中,新增了圆角边框样式,这样我们的盒子就可以变圆角了。 border-radius属性用于设置元素的外边框圆角。语法: border-radius : length; radius半径(圆的半径)原理:(椭)圆与边框的交集形成圆角效果 参数值可以为数值或百分比的形式 如果 ...
分类:
Web程序 时间:
2021-01-26 12:22:08
阅读次数:
0
vscode插件安装 stylelint prettier eslint 安装依赖 npm install -D stylelint prettier eslint // yarn yarn add stylelint prettier eslint -D 安装@umijs/fabric,一个包含 ...
分类:
其他好文 时间:
2021-01-25 10:59:42
阅读次数:
0
今天在写程序的时候看见一个以前没有见过的注解(@Component),在网上查找过后,经过实践,决定把它记录下来。 1、@controller 控制器(注入服务) 用于标注控制层,相当于struts中的action层 2、@service 服务(注入dao) 用于标注服务层,主要用来进行业务的逻辑处 ...
分类:
其他好文 时间:
2021-01-22 12:31:16
阅读次数:
0
主要是一个简单的demo测试 1.首先找到一个html查看源码如图 如果是这样的一段代码,我们的目标是获取a标签中的href内容,和文本内容,以及<span></span>标签中的日期,和p标签中的数据 2.开始做准备 (1)加入相关工具包 <!-- html解析jar --> <dependenc ...
分类:
编程语言 时间:
2021-01-22 12:05:17
阅读次数:
0
vue 绑定style :style="{'padding-left':index==0?'22px':''} 1 <label v-for="(item,keyName,index) in ENUM.transportType" :style="{'padding-left':index==0?' ...
分类:
其他好文 时间:
2021-01-22 11:43:38
阅读次数:
0
张艳涛写于2021-1-20日 What: 如何让button的长度和input长度一致呢 最先想到的是给这个button加一个class ="buttonclass",然后在vue最后的<style标签中>设置 .buttonclass { width : 100%; } 这个前两篇设置heigh ...
分类:
Web程序 时间:
2021-01-21 10:32:52
阅读次数:
0
原代码:<div v-show="uploader" class="table-operator" style="margin-top: 10px;margin-bottom: 10px;float:right; "> <a-upload name="file" :showUploadList="f ...
分类:
其他好文 时间:
2021-01-20 12:05:48
阅读次数:
0