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