Commit 8d4a3533 by haojie

1

parent 4ecc1fae
......@@ -198,6 +198,7 @@ watch(
height: 100px;
display: block;
cursor: pointer;
border-radius: 8px;
}
.chose-model-dialog {
.t-dialog {
......
......@@ -57,7 +57,7 @@ import PublicPwdSvg from '@/assets/svg/login/publicPwd.svg?component';
import { RulesType } from './Interfase';
import { emailReg } from '@/constants/token';
import { reactive, ref, watch } from 'vue';
const input_value = ref<string>('');
const input_value = ref<string>(props.modelValue);
const props = withDefaults(
defineProps<{
type?: string;
......
......@@ -86,6 +86,9 @@ export const FilterFormType = (list: any[]) => {
it.component_type = 'label';
} else if (it.type == 'image') {
it.component_type = 'image';
if (typeof it.dialog_visible == 'undefined') {
it.dialog_visible = false;
}
}
// 保存提交的类型
if (it.name == 'select_image') {
......
......@@ -102,7 +102,7 @@ const getAdminComponent = async () => {
return;
}
AdminData.list = list;
console.log(AdminData.list);
console.log(list);
}
loading.value = false;
} catch (e) {
......
......@@ -37,7 +37,7 @@ export const CustomNum = {
type: 'custom-number',
label: '生成数量',
name: 'number',
value: null,
value: '1',
span: 24,
placeholder: '自定义',
rules: [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment