chore: update dependencies

This commit is contained in:
xiaoxian521
2022-11-11 03:36:18 +08:00
parent c4839aa5f4
commit df71c7f75c
50 changed files with 1229 additions and 945 deletions

View File

@@ -7,14 +7,14 @@ defineOptions({
name: "Cropping"
});
let refCropper = ref();
let info = ref<object>(null);
let cropperImg = ref<string>("");
const refCropper = ref();
const info = ref<object>(null);
const cropperImg = ref<string>("");
const onCropper = (): void => {
nextTick(() => {
refCropper.value.cropper.getCroppedCanvas().toBlob(blob => {
let fileReader: FileReader = new FileReader();
const fileReader: FileReader = new FileReader();
fileReader.onloadend = (e: ProgressEvent) => {
cropperImg.value = (e.target as any).result;
info.value = refCropper.value.cropper.getData();

View File

@@ -8,7 +8,7 @@ defineOptions({
name: "Draggable"
});
let gridLists = ref<Array<Object>>([
const gridLists = ref<Array<Object>>([
{ grid: "cn", num: 1 },
{ grid: "cn", num: 2 },
{ grid: "cn", num: 3 },
@@ -20,14 +20,14 @@ let gridLists = ref<Array<Object>>([
{ grid: "cn", num: 9 }
]);
let lists = ref<Array<Object>>([
const lists = ref<Array<Object>>([
{ people: "cn", id: 1, name: "www.itxst.com" },
{ people: "cn", id: 2, name: "www.baidu.com" },
{ people: "cn", id: 3, name: "www.taobao.com" },
{ people: "cn", id: 4, name: "www.google.com" }
]);
let cutLists = ref([
const cutLists = ref([
{ people: "cn", id: 1, name: "cut1" },
{ people: "cn", id: 2, name: "cut2" },
{ people: "cn", id: 3, name: "cut3" },

View File

@@ -9,7 +9,7 @@ defineOptions({
const scroll = templateRef<ElRef | null>("scroll", null);
let listData = ref([
const listData = ref([
{
title: "无缝滚动第一行无缝滚动第一行!!!!!!!!!!"
},
@@ -39,7 +39,7 @@ let listData = ref([
}
]);
let classOption = reactive({
const classOption = reactive({
direction: "top"
});

View File

@@ -6,8 +6,8 @@ defineOptions({
name: "Selector"
});
let selectRange = ref<string>("");
let dataLists = ref([
const selectRange = ref<string>("");
const dataLists = ref([
{
title: "基本使用",
echo: [],