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

@@ -15,8 +15,8 @@ const form = reactive({
user: "",
status: ""
});
let dataList = ref([]);
let loading = ref(true);
const dataList = ref([]);
const loading = ref(true);
const { columns } = useColumns();
const formRef = ref<FormInstance>();
@@ -36,7 +36,7 @@ function handleSelectionChange(val) {
async function onSearch() {
loading.value = true;
let { data } = await getDeptList();
const { data } = await getDeptList();
dataList.value = handleTree(data as any);
setTimeout(() => {
loading.value = false;

View File

@@ -92,7 +92,7 @@ const dictData = reactive({
] as VxeFormPropTypes.Items
});
let originData = cloneDeep(dictData.tableData);
const originData = cloneDeep(dictData.tableData);
const xTree = ref<TablePublicMethods>();
const xForm = ref<FormMethods>();
@@ -195,7 +195,7 @@ const submitEvent = () => {
}, 500);
};
let drawer = ref(false);
const drawer = ref(false);
function onDeploy(value?: object) {
console.log("onDeploy", value);

View File

@@ -17,8 +17,8 @@ const form = reactive({
status: ""
});
let dataList = ref([]);
let loading = ref(true);
const dataList = ref([]);
const loading = ref(true);
const { columns } = useColumns();
const formRef = ref<FormInstance>();
@@ -52,7 +52,7 @@ function handleSelectionChange(val) {
async function onSearch() {
loading.value = true;
let { data } = await getRoleList();
const { data } = await getRoleList();
dataList.value = data.list;
pagination.total = data.total;
setTimeout(() => {

View File

@@ -17,8 +17,8 @@ const form = reactive({
mobile: "",
status: ""
});
let dataList = ref([]);
let loading = ref(true);
const dataList = ref([]);
const loading = ref(true);
const { columns } = useColumns();
const formRef = ref<FormInstance>();
@@ -52,7 +52,7 @@ function handleSelectionChange(val) {
async function onSearch() {
loading.value = true;
let { data } = await getUserList();
const { data } = await getUserList();
dataList.value = data.list;
pagination.total = data.total;
setTimeout(() => {

View File

@@ -21,7 +21,7 @@ const searchValue = ref("");
const { proxy } = getCurrentInstance();
const treeRef = ref<InstanceType<typeof ElTree>>();
let highlightMap = ref({});
const highlightMap = ref({});
const filterNode = (value: string, data: Tree) => {
if (!value) return true;
@@ -45,8 +45,8 @@ function nodeClick(value) {
}
function toggleRowExpansionAll(status) {
let nodes = (proxy.$refs["treeRef"] as any).store._getAllNodes();
for (var i = 0; i < nodes.length; i++) {
const nodes = (proxy.$refs["treeRef"] as any).store._getAllNodes();
for (let i = 0; i < nodes.length; i++) {
nodes[i].expanded = status;
}
}
@@ -63,7 +63,7 @@ watch(searchValue, val => {
});
onMounted(async () => {
let { data } = await getDeptList();
const { data } = await getDeptList();
treeData.value = handleTree(data as any);
});
</script>