11 2020 档案

摘要:var students=[ {name: "vehicleTravelLicenseCopyBack", id: "a1"}, {name: "vehicleTravelLicenseCopyFront", id: "a2"}, {name: "idCardBack", id: "a3"}, {n 阅读全文
posted @ 2020-11-29 19:39 睁yan-ii 阅读(2278) 评论(0) 推荐(0) 编辑
摘要:1 views/ perform_create 方法的使用 获取未序列化的数据 def perform_create(self, serializer): user_obj=serializer.save() role_list=self.request.data.get('role') if ro 阅读全文
posted @ 2020-11-26 20:08 睁yan-ii 阅读(188) 评论(0) 推荐(0) 编辑
摘要:1 安装python 自动姿势 Chinese # 换成中文 path Autocomplete 路径自动补全 Vetur vue文件补全 配置文件 首选项-设置 应用程序 在 seyying.json中配置 { "editor.minimap.enabled": false, "workbench 阅读全文
posted @ 2020-11-08 15:49 睁yan-ii 阅读(245) 评论(0) 推荐(0) 编辑
摘要:1 共同页面 <template> <a-menu theme="dark" mode="inline" :default-selected-keys="defaulted"> <a-menu-item key="1"> <a-icon type="user"/> <!-- <a href="">< 阅读全文
posted @ 2020-11-08 15:48 睁yan-ii 阅读(145) 评论(0) 推荐(0) 编辑
摘要:1 连接mysql import pymysql import concurrent coon=pymysql.connect(host='localhost',user='root',password='123456',db='worlflow',charset='utf8',port=3306) 阅读全文
posted @ 2020-11-07 15:25 睁yan-ii 阅读(1003) 评论(0) 推荐(0) 编辑
摘要:1 base64 的基本使用 import base64 with open('../static/upload/63bc620d1594779d6a98c53a3a8db1e5.png','rb') as f: data=f.read() encodesstr=base64.b64encode(d 阅读全文
posted @ 2020-11-07 15:14 睁yan-ii 阅读(143) 评论(0) 推荐(0) 编辑
摘要:参照地址 https://v3u.cn/a_id_140 1 前端vue上传 # 拖拽上窜 <template> <div> <input type="file" @change="upload_upyun" /> <div class="upload"> 拖拽上传 </div> </div> </ 阅读全文
posted @ 2020-11-07 15:06 睁yan-ii 阅读(263) 评论(0) 推荐(0) 编辑
摘要:# sql 语句执行函数 def get_access(request): uid=request cursor=connection.cursor() cursor.execute("select a.username ,b.role_name,c.node_id,d.node_name from 阅读全文
posted @ 2020-11-02 20:56 睁yan-ii 阅读(390) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示