- 博客(11)
- 资源 (7)
- 收藏
- 关注
原创 element-ui的表单重置方法resetFields()无效问题
<el-button type="primary" @click="handleAdd">新增</el-button><el-button size="mini" type="primary" @click="handleEdit(scope.row)"> <span class="el-icon-edit"></span>编辑</el-button><el-dialog title="系统维..
2021-01-28 18:56:11 474 1
原创 VSCode 使用Vetur对vue文件进行格式化
settings.json 配置代码{ "workbench.iconTheme": "material-icon-theme", // 指定工作台中使用的文件图标主题 "window.zoomLevel": 0, // 调整窗口的缩放级别,原始大小是 0 "editor.formatOnSave": true, // 在保存时格式化文件 "editor.tabSize": 2, // 一个制表符等于的空格数 "[jsonc]": { "editor.defaultFor.
2020-12-05 10:51:11 3055
原创 异星工厂0.16控制台代码
异星工厂0.16控制台代码1.生成8x8大小的煤矿/c local surface = game.players[1].surface;for y=-8,8 dofor x=-8,8 dosurface.create_entity({name="coal", amount=25000000, position={game.players[1].position.x+x, game.players[1].position.y+y}})endend2.获得物品/c game
2020-10-07 13:07:07 9393
原创 ECharts柱状图使用笔记
option = { //图名和备注信息 title: { //text: '某地区蒸发量和降水量', //subtext: '纯属虚构' }, //图例 legend: { data: ['apple', 'Milk', 'Cheese', 'Tea', 'Coco'] }, //指示显示相应的数据和标识,一般里面为空 tooltip: {}, //右上角的工具栏(可选) to.
2020-07-16 12:11:36 268
转载 Vue学习笔记
什么是Vue.js Vue.js 是目前最火的一个前端框架,React是最流行的一个前端框架(React除了开发网站,还可以开发手机App, Vue语法也是可以用于进行手机App开发的,需要借助于Weex) Vue.js 是前端的主流框架之一,和Angular.js、React.js 一起,并成为前端三大主流框架! Vue.js 是一套构建用户界面的框架,只关注视图层,它不仅易于上手,还便于与第三方库或既有项目整合。(Vue有配套的第三方类库,可以整合起来做大型项目的开发) V
2020-05-12 10:45:27 203
转载 动态规划算法实现收益最大C++
#include <iostream>using namespace std;typedef struct{ float benefit; int A,B,C;}Allot;void AddChoice(Allot *Fx,float **temp,int stage,int n,float *fx[4]){ int i,j; for(i=0;i<=n;i...
2018-06-04 09:36:00 2062
转载 用贪心算法实现找零问题
#include<stdio.h>#include<math.h>int main(){ float sum=0,s,money[10]; int i=0,b; printf("请输入总金额:"); scanf("%f",&sum); printf("所给钱数:"); scanf("%f",&s);
2018-05-21 09:12:47 1364
转载 虚拟分页存储管理
#define TRUE 1#define FALSE 0#define INVALID -1#define NULL 0#define total_instruction 320 /*指令流长*/#define total_vp 32 /*虚页长*/#define clear_period ...
2018-05-09 10:52:38 792
转载 HorspoolMathcing字符串匹配
#include <stdio.h>#include <stdlib.h>#include <string.h>void function(char pattern[], int length, int table[]){ int x; for (x=0; x<26; ++x) table[x]=length; ...
2018-05-07 09:01:33 132
转载 0-1背包问题
#include<stdio.h>#include<stdlib.h>typedef enum //向量数组 {false,true}bool;int c[15][25]; bool x[25];int knapsack(int m,int n,int *w,int *p){ bool a;int i,j; for(i=1;i<=n;i++) ...
2018-04-23 09:30:55 157
转载 最长公共子序列C语言代码
#include<stdio.h> #include<string.h> int c[200][200]; //用c[i][j]记录X[i]与Y[j] 的LCS 的长度 int b[200][200]; //b[i][j]记录c[i][j]是通过哪一个子问题的值求得的,以决定搜索的方向 char f[200]; /*------------------...
2018-04-21 12:46:05 5692
抖音很火的动态表白源码
2020-06-09
Eclipse+Jsp+MySQL/Oracle 模拟酷狗官网
2020-06-09
Jsp+ajax 在线聊天室
2020-06-09
flower.zip
2020-06-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人