刚开始接触electron ,踩到了electron-prebuilt的坑,简单记录下。 1、直接安装 npm install sqlite3 electron . 报错:'cannot find node module sqlite3' 2、重新编译sqlite3 2.1 npm install ...
分类:
数据库 时间:
2020-06-09 18:15:26
阅读次数:
120
报错模型未注册。 示例 const Goods = require('../../model/admin/Goods');//先引入你需要的关联模型 const res = await ctx.mongoose.find().populate({ path: 'Goods ', model: Goo ...
分类:
其他好文 时间:
2020-06-09 18:13:48
阅读次数:
65
public class Item { public static void main(String args[]) { int array[] = {1, 6, 10, -4,8,3, -5}; System.out.println(findMax(array)); } public static ...
分类:
编程语言 时间:
2020-06-09 14:18:26
阅读次数:
134
package com.example.datebasetest; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLite ...
分类:
移动开发 时间:
2020-06-09 11:19:58
阅读次数:
71
现象: Failed to compile. (2818,14): Duplicate identifier 'LibraryManagedAttributes'. Duplicate identifier问题的解决 修改方法: 1. 找到tsconfig.json文件 解决方案是在tsconfig ...
分类:
其他好文 时间:
2020-06-09 10:04:07
阅读次数:
272
今天在使用find命令查找文件时报错: 查找命令:find /var/www/html/typecho/admin/ -name *.php -type f -print | xargs file 报错如下: find: paths must precede expression: category ...
分类:
其他好文 时间:
2020-06-09 09:59:16
阅读次数:
251
题目描述 输入两个链表,找出它们的第一个公共结点。(注意因为传入数据是链表,所以错误测试数据的提示是用其他方式显示的,保证传入数据是正确的) 题目链接: https://www.nowcoder.com/practice/6ab1d9a29e88450685099d45c9e31e46?tpId=1 ...
分类:
其他好文 时间:
2020-06-09 09:48:46
阅读次数:
62
python 环境:Python 2.7.16 需要安装:pandas/xlrd (pip2 install pandas/ pip2 install xlrd) import pandas as pd def find_row(num_value,file_name): """ Returns t ...
分类:
编程语言 时间:
2020-06-09 09:46:02
阅读次数:
403
1、BasePage,所有Page类的父类,主要分装find元素查找方法,配合显示等待,不用每个元素查找都使用一次显示等待,driver初始化 #coding=utf-8 import os from datetime import datetime import allure from appiu ...
分类:
移动开发 时间:
2020-06-09 00:03:25
阅读次数:
163
1、基本操作 1.1 cd (change directory) 格式:cd <路径> 功能:cd指令后面跟一个路径,有于切换到当前用户所在的路径,其中路径可以是绝对路径,也可以是相对路径。 使用示例: cd /system/bin 表示切换到/system/bin路径下 cd logs 表示切换到 ...
分类:
系统相关 时间:
2020-06-08 23:21:53
阅读次数:
89