摘要:        
import random # 数字库 import string # 字符串库 code=string.digits+string.ascii_letters print(code) # 生成字符串 def getCode(): # sample 取出样本 return ''.join(rando    阅读全文
posted @ 2020-12-28 19:32
睁yan-ii
阅读(94)
评论(0)
推荐(0)
        
            
        
        
摘要:        
<div> <label>添加审批类型</label> <a-select v-model="editData.approvetype" style="width: 100%" placeholder="Please select" @change="handleChange02" > <a-sel    阅读全文
posted @ 2020-12-28 19:31
睁yan-ii
阅读(317)
评论(0)
推荐(0)
        
            
        
        
摘要:        
参照链接 https://juejin.cn/post/6844903795131056135 import redis r=redis.Redis(host='localhost',port=6379) # r.set(1,'W5c0-qkAb-e2Xw-U7wS') # 存键值 # r.expi    阅读全文
posted @ 2020-12-28 19:28
睁yan-ii
阅读(1691)
评论(1)
推荐(0)
        
            
        
        
摘要:        
这几种类型比较常见,在这里结合稍微总结一下。 1. list 转 string str()方法不不能转出list列表值,会包含其他无关符号如‘[',用join的方法会将列表元素分隔开。 2. string 转 list 直接调用append方法插入list列表 还有一种方法就是通过符号分割的方法,这    阅读全文
posted @ 2020-12-28 19:25
睁yan-ii
阅读(227)
评论(0)
推荐(0)
        
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号