hookehuyr

fix

1 +node_modules
2 +doc
3 +.history
4 +.vscode
1 +// generated by unplugin-vue-components
2 +// We suggest you to commit this file into source control
3 +// Read more: https://github.com/vuejs/core/pull/3399
4 +import '@vue/runtime-core'
5 +
6 +export {}
7 +
8 +declare module '@vue/runtime-core' {
9 + export interface GlobalComponents {
10 + ButtonField: typeof import('./src/components/ButtonField/index.vue')['default']
11 + CalendarField: typeof import('./src/components/CalendarField/index.vue')['default']
12 + CheckboxField: typeof import('./src/components/CheckboxField/index.vue')['default']
13 + ContactField: typeof import('./src/components/ContactField/index.vue')['default']
14 + DatePickerField: typeof import('./src/components/DatePickerField/index.vue')['default']
15 + DateTimePickerField: typeof import('./src/components/DateTimePickerField/index.vue')['default']
16 + DesField: typeof import('./src/components/DesField/index.vue')['default']
17 + DividerField: typeof import('./src/components/DividerField/index.vue')['default']
18 + EmailField: typeof import('./src/components/EmailField/index.vue')['default']
19 + FileUploaderField: typeof import('./src/components/FileUploaderField/index.vue')['default']
20 + GenderField: typeof import('./src/components/GenderField/index.vue')['default']
21 + IdentityField: typeof import('./src/components/IdentityField/index.vue')['default']
22 + ImageUploaderField: typeof import('./src/components/ImageUploaderField/index.vue')['default']
23 + MarqueeField: typeof import('./src/components/MarqueeField/index.vue')['default']
24 + MultiRuleField: typeof import('./src/components/MultiRuleField/index.vue')['default']
25 + NameField: typeof import('./src/components/NameField/index.vue')['default']
26 + NoteField: typeof import('./src/components/NoteField/index.vue')['default']
27 + NumberField: typeof import('./src/components/NumberField/index.vue')['default']
28 + PhoneField: typeof import('./src/components/PhoneField/index.vue')['default']
29 + PickerField: typeof import('./src/components/PickerField/index.vue')['default']
30 + RadioField: typeof import('./src/components/RadioField/index.vue')['default']
31 + RatePickerField: typeof import('./src/components/RatePickerField/index.vue')['default']
32 + RouterLink: typeof import('vue-router')['RouterLink']
33 + RouterView: typeof import('vue-router')['RouterView']
34 + RuleField: typeof import('./src/components/RuleField/index.vue')['default']
35 + SignField: typeof import('./src/components/SignField/index.vue')['default']
36 + TableField: typeof import('./src/components/TableField/index.vue')['default']
37 + Test: typeof import('./src/components/VideoField/test.vue')['default']
38 + TextareaField: typeof import('./src/components/TextareaField/index.vue')['default']
39 + TextField: typeof import('./src/components/TextField/index.vue')['default']
40 + TimePickerField: typeof import('./src/components/TimePickerField/index.vue')['default']
41 + VanArea: typeof import('vant/es')['Area']
42 + VanButton: typeof import('vant/es')['Button']
43 + VanCalendar: typeof import('vant/es')['Calendar']
44 + VanCellGroup: typeof import('vant/es')['CellGroup']
45 + VanCheckbox: typeof import('vant/es')['Checkbox']
46 + VanCheckboxGroup: typeof import('vant/es')['CheckboxGroup']
47 + VanCol: typeof import('vant/es')['Col']
48 + VanConfigProvider: typeof import('vant/es')['ConfigProvider']
49 + VanDatePicker: typeof import('vant/es')['DatePicker']
50 + VanDivider: typeof import('vant/es')['Divider']
51 + VanField: typeof import('vant/es')['Field']
52 + VanForm: typeof import('vant/es')['Form']
53 + VanIcon: typeof import('vant/es')['Icon']
54 + VanImage: typeof import('vant/es')['Image']
55 + VanLoading: typeof import('vant/es')['Loading']
56 + VanNoticeBar: typeof import('vant/es')['NoticeBar']
57 + VanNumberKeyboard: typeof import('vant/es')['NumberKeyboard']
58 + VanOverlay: typeof import('vant/es')['Overlay']
59 + VanPicker: typeof import('vant/es')['Picker']
60 + VanPickerGroup: typeof import('vant/es')['PickerGroup']
61 + VanPopover: typeof import('vant/es')['Popover']
62 + VanPopup: typeof import('vant/es')['Popup']
63 + VanRadio: typeof import('vant/es')['Radio']
64 + VanRadioGroup: typeof import('vant/es')['RadioGroup']
65 + VanRate: typeof import('vant/es')['Rate']
66 + VanRow: typeof import('vant/es')['Row']
67 + VanSwipe: typeof import('vant/es')['Swipe']
68 + VanSwipeItem: typeof import('vant/es')['SwipeItem']
69 + VanTimePicker: typeof import('vant/es')['TimePicker']
70 + VanUploader: typeof import('vant/es')['Uploader']
71 + VideoField: typeof import('./src/components/VideoField/index.vue')['default']
72 + }
73 +}
1 +import { defineStore } from "pinia";
2 +
3 +export const testStore = defineStore('test', {
4 + state: () => {
5 + return {
6 + list: ['abc']
7 + }
8 + }
9 +})
1 +const chai = require("chai");
2 +//引入断言的风格
3 +const assert = chai.assert;
4 +const expect = chai.expect;
5 +
6 +describe('加法函数的测试', function () {
7 + it('1加1应该等于2', function () {
8 + expect(2).to.be.equal(2);
9 + });
10 +});
1 +/*
2 + * @Date: 2022-07-18 10:22:22
3 + * @LastEditors: hookehuyr hookehuyr@gmail.com
4 + * @LastEditTime: 2022-07-25 17:53:16
5 + * @FilePath: /front/src/test/test.ts
6 + * @Description: 文件描述
7 + */
8 +
9 +interface CircleStatic {
10 + pi: number
11 + new (radius: number): void
12 +}
13 +
14 +const Circle:CircleStatic = class Circle {
15 + static pi: 3.14
16 + radius: number
17 + constructor(radius: number) {
18 + this.radius = radius
19 + }
20 +}
21 +
22 +const foo = new Circle(1)
23 +console.warn(foo)