摘要: <template> <el-table @selection-change="handleSelectionChange" :row-key="getRowKeys"> <!--type必须是selection的一列设置reserve-selection属性--> <el-table-column 阅读全文
posted @ 2022-04-14 01:10 热心市民~菜先生 阅读(981) 评论(0) 推荐(0)
摘要: 1.安装 npm install umy-ui 2.注册引入 import UmyUi from 'umy-ui' import 'umy-ui/lib/theme-chalk/index.css' Vue.use(UmyUi) import { UTableColumn, UTable, UxGr 阅读全文
posted @ 2021-10-10 22:08 热心市民~菜先生 阅读(232) 评论(0) 推荐(0)
摘要: 1.深度监听 <template> <div id="test"> <button @click="changeAge">change</button> </div> </template> <script> export default { name: 'test', data () { retu 阅读全文
posted @ 2021-09-06 23:22 热心市民~菜先生 阅读(836) 评论(0) 推荐(0)
摘要: 1.基本搭建 python3.5 flask框架使用mysql配置(flask学习) falsk使用MySQL的方法试了几个终于找到没问题的了,以下是代码: #coding=utf-8 from flask import Flask from flask_sqlalchemy import SQLA 阅读全文
posted @ 2021-09-05 23:56 热心市民~菜先生 阅读(229) 评论(0) 推荐(0)
摘要: from pyquery import PyQuery as pq import urllib.request import pymysql import uuid conn = pymysql.connect(host='127.0.0.1', user="root", passwd="12345 阅读全文
posted @ 2021-09-05 23:50 热心市民~菜先生 阅读(46) 评论(0) 推荐(0)
摘要: srs.conf # main config for srs. # @see full.conf for detail config. listen 1935; max_connections 1000; srs_log_tank file; srs_log_file ./objs/srs.log; 阅读全文
posted @ 2021-09-05 23:35 热心市民~菜先生 阅读(934) 评论(0) 推荐(0)
摘要: FeiTian.py # coding=utf-8 # 添加消息 from ctypes import * import ctypes import json import time hinst = ctypes.cdll.LoadLibrary('/opt/Rockey3_SDK_LINUX_V1 阅读全文
posted @ 2021-09-05 23:33 热心市民~菜先生 阅读(126) 评论(0) 推荐(0)
摘要: var sum2 = 0;var sum3 = 0; function calc2(num) { if (num > 0) { //递归:在函数体中自己调用自己,实现一个简易的循环 sum2 += num; num--; calc2(num); //arguments.callee(num); } 阅读全文
posted @ 2021-09-03 22:00 热心市民~菜先生 阅读(275) 评论(0) 推荐(0)
摘要: 1.主页 <template> <div class="sfair-module"> <!-- UI改造增加-偏好设置按钮 , 可直接复制 --> <sfair-page-config :config="['query', 'list']" @click="showConfig" :class="[ 阅读全文
posted @ 2021-08-31 23:45 热心市民~菜先生 阅读(49) 评论(0) 推荐(0)
摘要: <template> <div> <el-dialog :title="dialogTaskTitle" :visible.sync="dialogTaskShow" width="960px" top="5vh" :close-on-click-modal='false' :before-clos 阅读全文
posted @ 2021-08-31 23:36 热心市民~菜先生 阅读(88) 评论(0) 推荐(0)