引入 Element 你可以引入整个 Element,或是根据需要仅引入部分组件。我们先介绍如何引入完整的 Element。 ¶完整引入:在 main.js 中写入以下内容: import Vue from 'vue'; import ElementUI from 'element-ui'; imp ...
分类:
Web程序 时间:
2021-05-23 23:33:38
阅读次数:
0
分页查询 ★ /* 应用场景:当要显示的数据,一页显示不全,需要分页提交sql请求 语法: select 查询列表 from 表 【join type join 表2 on 连接条件 where 筛选条件 group by 分组字段 having 分组后的筛选 order by 排序的字段】 lim ...
分类:
数据库 时间:
2021-05-23 23:31:34
阅读次数:
0
语法: select 字段|常量|表达式|函数 【from 表】 【where 条件】 union 【all】 select 字段|常量|表达式|函数 【from 表】 【where 条件】 union 【all】 select 字段|常量|表达式|函数 【from 表】 【where 条件】 un ...
分类:
数据库 时间:
2021-05-23 23:31:00
阅读次数:
0
passwd [选项] 登录名 -e,--expire 强制用户密码过期 这时候需要使用root账户给tel用户重新设置密码 -l,--lock 锁定指定用户密码 -u, --unlock 给指定账户解锁定 -d,--delete 将密码删除,即设置为空密码 -x, --maximum=DAYS 密 ...
分类:
其他好文 时间:
2021-05-23 23:29:20
阅读次数:
0
use MustGoHome; --公司注册 if exists(select * from Sysobjects where name='usp_CompanyRegister') drop procedure usp_CompanyRegister; go create procedure us ...
分类:
数据库 时间:
2021-05-23 23:17:14
阅读次数:
0
/* 打开 optimizer_trace,只对本线程有效 */ 0: SET optimizer_trace="enabled=on"; /* @a 保存 Innodb_rows_read 的初始值 */ 1: SELECT VARIABLE_VALUE into @a from performa ...
分类:
编程语言 时间:
2021-05-23 23:10:56
阅读次数:
0
网桥实验 命令法 centos7配成网桥 eth0接入vmnet1 eth1接入vmnet8 yum -y install bridge-utils nmcli connection delete eth0 W brctl show #查看网桥 brctl addbr br0 brctl addif ...
分类:
其他好文 时间:
2021-05-23 23:06:42
阅读次数:
0
查看所有公式 from openpyxl.utils import FORMULAE print(len(FORMULAE)) print(FORMULAE) # 公式是否存在 print('x' in FORMULAE) # 返回为 True from openpyxl import Workbo ...
分类:
其他好文 时间:
2021-05-23 23:04:01
阅读次数:
0
tqdm 是一个快速,可扩展的Python进度条 可以在 Python 长循环中添加一个进度提示信息,用户只需要封装任意的迭代器 tqdm(iterator)。 使用pip就可以安装。 ' from tqdm import tqdm for i in tqdm(range(1000)): #do s ...
分类:
编程语言 时间:
2021-05-23 23:00:33
阅读次数:
0
红色方框要引入箭头里面的 import sys sys.path.append('../../config/') from database import * print(MYSQL_CONFIG) ...
分类:
编程语言 时间:
2021-05-20 17:53:11
阅读次数:
0