容器实例界面优化
This commit is contained in:
parent
8f9a63eac3
commit
82bc25b6ec
@ -119,6 +119,9 @@ import {
|
|||||||
InboxOutlined
|
InboxOutlined
|
||||||
} from '@ant-design/icons-vue';
|
} from '@ant-design/icons-vue';
|
||||||
|
|
||||||
|
import { useRouter } from 'vue-router'
|
||||||
|
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'InstanceList',
|
name: 'InstanceList',
|
||||||
components: {
|
components: {
|
||||||
@ -137,7 +140,9 @@ export default defineComponent({
|
|||||||
AppstoreOutlined,
|
AppstoreOutlined,
|
||||||
InboxOutlined,
|
InboxOutlined,
|
||||||
},
|
},
|
||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
|
const router = useRouter()
|
||||||
const loading = ref(false);
|
const loading = ref(false);
|
||||||
const currentPage = ref(1);
|
const currentPage = ref(1);
|
||||||
const pageSize = ref(10);
|
const pageSize = ref(10);
|
||||||
@ -226,7 +231,7 @@ export default defineComponent({
|
|||||||
fetchInstances();
|
fetchInstances();
|
||||||
|
|
||||||
const handleRent = () => {
|
const handleRent = () => {
|
||||||
console.log('租用新实例');
|
router.push('/layout/admin/instanceCreate');
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleRenew = () => {
|
const handleRenew = () => {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user