Merge branch 'develop'

This commit is contained in:
caishi 2021-07-26 09:38:44 +08:00
commit 810ea37bed
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
import React, { useState } from 'react';
import React, { useState , useEffect } from 'react';
import { Button , List , Pagination , Skeleton } from 'antd';
import miyao from '../img/miyao_middle_icon.png';
import axios from 'axios';
@ -15,9 +15,9 @@ function SSH(props) {
const [ visibleDesc , setVisibleDesc ] = useState(false);
const [ content , setContent ] = useState(undefined);
useState(()=>{
useEffect(()=>{
Init();
},[])
},[page])
function Init() {
const url = `/public_keys.json`;