feat: rebuild support workspace frontend
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import * as React from 'react'
|
||||
import { ArrowLeft, Save } from 'lucide-react'
|
||||
import { Save } from 'lucide-react'
|
||||
|
||||
import { AppField } from '@/components/app/AppField'
|
||||
import { AppPage } from '@/components/app/AppPage'
|
||||
@@ -78,16 +78,13 @@ export function SolutionCreatePage() {
|
||||
}
|
||||
|
||||
return (
|
||||
<AppPage maxWidth="6xl" contentClassName="grid gap-5">
|
||||
<AppPageHeader
|
||||
<AppPage
|
||||
maxWidth="6xl"
|
||||
contentClassName="grid gap-5"
|
||||
header={<AppPageHeader
|
||||
title="新建解决方案"
|
||||
actions={
|
||||
<Button variant="outline" onClick={() => (window.location.hash = sourceTicketId ? `/tickets/${sourceTicketId}` : '/solutions')}>
|
||||
<ArrowLeft className="size-4" />
|
||||
返回
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
/>}
|
||||
>
|
||||
|
||||
{error ? (
|
||||
<Alert variant="destructive">
|
||||
|
||||
Reference in New Issue
Block a user