mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-17 02:26:28 +08:00
commit
This commit is contained in:
@@ -79,24 +79,24 @@ const isOnlineForm = computed(() => {
|
||||
});
|
||||
|
||||
const isDraft = computed(() => {
|
||||
return typeof dialogParams.isDraft === 'string'
|
||||
? dialogParams.isDraft === 'true'
|
||||
: dialogParams.isDraft;
|
||||
return typeof dialogParams.value.isDraft === 'string'
|
||||
? dialogParams.value.isDraft === 'true'
|
||||
: dialogParams.value.isDraft;
|
||||
});
|
||||
const isPreview = computed(() => {
|
||||
return typeof dialogParams.isPreview === 'string'
|
||||
? dialogParams.isPreview === 'true'
|
||||
: dialogParams.isPreview;
|
||||
return typeof dialogParams.value.isPreview === 'string'
|
||||
? dialogParams.value.isPreview === 'true'
|
||||
: dialogParams.value.isPreview;
|
||||
});
|
||||
const isRuntime = computed(() => {
|
||||
return typeof dialogParams.isRuntime === 'string'
|
||||
? dialogParams.isRuntime === 'true'
|
||||
: dialogParams.isRuntime;
|
||||
return typeof dialogParams.value.isRuntime === 'string'
|
||||
? dialogParams.value.isRuntime === 'true'
|
||||
: dialogParams.value.isRuntime;
|
||||
});
|
||||
const readOnly = computed(() => {
|
||||
return typeof dialogParams.readOnly === 'string'
|
||||
? dialogParams.readOnly === 'true'
|
||||
: dialogParams.readOnly;
|
||||
return typeof dialogParams.value.readOnly === 'string'
|
||||
? dialogParams.value.readOnly === 'true'
|
||||
: dialogParams.value.readOnly;
|
||||
});
|
||||
|
||||
const getFlowInfo = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user