使用ABP框架进行First Code时,出现错误如下: Your startup project 'HF.Template.Migrator' doesn't reference Microsoft.EntityFrameworkCore.Design. This package is requi ...
分类:
其他好文 时间:
2020-12-02 12:00:53
阅读次数:
5
<template> <a-form :form="form" :label-col="{ span: 5 }" :wrapper-col="{ span: 2 }"> <a-form-item label="Gender"> <a-select placeholder="Select a opti ...
分类:
其他好文 时间:
2020-12-01 12:40:48
阅读次数:
14
使用IdentityServer的起点! 安装 IdentityServer4 模板 dotnet new -i IdentityServer4.Template 1、IdentityServer4 创建IdentityServer4项目: dotnet new is4empty -n 项目名 定义 ...
分类:
其他好文 时间:
2020-11-27 11:16:39
阅读次数:
7
element ui固定表头 只要在el-table元素中定义了height属性,即可实现固定表头的表格,而不需要额外的代码。 <template> <el-table :data="tableData" height="250" border style="width: 100%"> <el-ta ...
分类:
其他好文 时间:
2020-11-26 15:13:35
阅读次数:
5
实验环境:(开始实验之前,请保证防火墙关闭,selinux关闭,时间同步)ansible:192.168.2.7web1:192.168.2.7web2:192.168.2.17OS:centos7OS:centos7OS:centos7实现功能:(自动化部署两台各自主机命名的httpd服务器)1、使用ansible的playbook实现自动化安装httpd2、建立httpd服务器,要求提供各自基
分类:
Web程序 时间:
2020-11-26 14:48:24
阅读次数:
9
实验环境:(开始实验之前,请保证防火墙关闭,selinux关闭,时间同步)ansible:192.168.2.7web1:192.168.2.7web2:192.168.2.17OS:centos7OS:centos7OS:centos7实现功能:(自动化部署两台各自主机命名的httpd服务器)1、使用ansible的playbook实现自动化安装httpd2、建立httpd服务器,要求提供各自基
分类:
Web程序 时间:
2020-11-26 14:48:12
阅读次数:
11
Flask内置的模板语言,它的设计思想来源于 Django 的模板引擎,并扩展了其语法和一系列强大的功能。 渲染模版函数 Flask提供的 render_template 函数封装了该模板引擎 render_template 函数的第一个参数是模板的文件名,后面的参数都是键值对,表示模板中变量对应的 ...
分类:
其他好文 时间:
2020-11-25 12:23:59
阅读次数:
7
docker+gunicorn+django默认unicorn不处理静态文件。自己添加nginx处理,具体看上篇在项目目录下保存依赖的模块和版本,打包在项目里面打包,manage.py同目录[root@ademo]#lsblogdemologmanage.pyrequirements.txtstatictemplates如果不是nginx处理静态文件,注意修改你的静态文件夹对应的目录pip3fre
分类:
其他好文 时间:
2020-11-25 12:16:51
阅读次数:
3
一、批量在服务端向client端发布命令://在zabbix服务端批量向client发送命令查看agent的进程:[root@localhost~]#ansiblezabbix-mshell-a"ps-ef|grepzabbix_agent"[root@localhost~]#ansiblezabbix-mshell-a"/etc/init.d/zabbix_agentdstart"[root@l
分类:
其他好文 时间:
2020-11-24 12:29:23
阅读次数:
6
Dao层代码:@Overridepublic int findTotalCount(int cid,String rname) { //String sql = "select count(*) from tab_route where cid = ?"; //1.定义sql模板 String sq ...
分类:
数据库 时间:
2020-11-24 12:07:25
阅读次数:
8