feat(editor): Add version controls settings (WIP) (#6036)
* feat(editor): Version control paywall (WIP) * fix(editor): remove version control docs link * feat(editor): Adding version control settings (WIP) * feat(editor): Adding version control settings (WIP) * fix(editor): use rest api root path in version control * fix(editor): adding preferences * fix(editor): adding preferences * fix(editor): change store action name
This commit is contained in:
@@ -4,8 +4,8 @@ import { Message, MessageBox } from 'element-ui';
|
||||
export function useMessage() {
|
||||
async function alert(
|
||||
message: string,
|
||||
configOrTitle: string | ElMessageBoxOptions | undefined,
|
||||
config: ElMessageBoxOptions | undefined,
|
||||
configOrTitle?: string | ElMessageBoxOptions,
|
||||
config?: ElMessageBoxOptions,
|
||||
) {
|
||||
const resolvedConfig = {
|
||||
...(config || (typeof configOrTitle === 'object' ? configOrTitle : {})),
|
||||
@@ -21,8 +21,8 @@ export function useMessage() {
|
||||
|
||||
async function confirm(
|
||||
message: string,
|
||||
configOrTitle: string | ElMessageBoxOptions | undefined,
|
||||
config: ElMessageBoxOptions | undefined,
|
||||
configOrTitle?: string | ElMessageBoxOptions,
|
||||
config?: ElMessageBoxOptions,
|
||||
) {
|
||||
const resolvedConfig = {
|
||||
...(config || (typeof configOrTitle === 'object' ? configOrTitle : {})),
|
||||
@@ -41,8 +41,8 @@ export function useMessage() {
|
||||
|
||||
async function prompt(
|
||||
message: string,
|
||||
configOrTitle: string | ElMessageBoxOptions | undefined,
|
||||
config: ElMessageBoxOptions | undefined,
|
||||
configOrTitle?: string | ElMessageBoxOptions,
|
||||
config?: ElMessageBoxOptions,
|
||||
) {
|
||||
const resolvedConfig = {
|
||||
...(config || (typeof configOrTitle === 'object' ? configOrTitle : {})),
|
||||
|
||||
Reference in New Issue
Block a user