hookehuyr

fix

...@@ -7,8 +7,13 @@ export {} ...@@ -7,8 +7,13 @@ export {}
7 7
8 declare module '@vue/runtime-core' { 8 declare module '@vue/runtime-core' {
9 export interface GlobalComponents { 9 export interface GlobalComponents {
10 + __AppointmentField: typeof import('./src/components/__AppointmentField/index.vue')['default']
11 + __AreaPickerField: typeof import('./src/components/__AreaPickerField/index.vue')['default']
12 + _AreaPickerField: typeof import('./src/components/_AreaPickerField/index.vue')['default']
10 Appointment: typeof import('./src/components/Appointment/index.vue')['default'] 13 Appointment: typeof import('./src/components/Appointment/index.vue')['default']
11 AppointmentField: typeof import('./src/components/AppointmentField/index.vue')['default'] 14 AppointmentField: typeof import('./src/components/AppointmentField/index.vue')['default']
15 + AppointmentField_: typeof import('./src/components/AppointmentField_/index.vue')['default']
16 + 'AppointmentField±': typeof import('./src/components/AppointmentField±/index.vue')['default']
12 AreaPickerField: typeof import('./src/components/AreaPickerField/index.vue')['default'] 17 AreaPickerField: typeof import('./src/components/AreaPickerField/index.vue')['default']
13 ButtonField: typeof import('./src/components/ButtonField/index.vue')['default'] 18 ButtonField: typeof import('./src/components/ButtonField/index.vue')['default']
14 CalendarField: typeof import('./src/components/CalendarField/index.vue')['default'] 19 CalendarField: typeof import('./src/components/CalendarField/index.vue')['default']
......
1 <!-- 1 <!--
2 * @Date: 2022-07-18 10:22:22 2 * @Date: 2022-07-18 10:22:22
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2023-03-29 15:05:26 4 + * @LastEditTime: 2023-03-29 16:24:48
5 * @FilePath: /data-table/src/views/index.vue 5 * @FilePath: /data-table/src/views/index.vue
6 * @Description: 首页 6 * @Description: 首页
7 --> 7 -->
...@@ -163,9 +163,6 @@ const appointment = ref([]); ...@@ -163,9 +163,6 @@ const appointment = ref([]);
163 // 动态绑定ref数据 163 // 动态绑定ref数据
164 const setRefMap = (el, item) => { 164 const setRefMap = (el, item) => {
165 if (el) { 165 if (el) {
166 - if (item.component_props.tag === "area_picker") {
167 - area_picker.value.push(el);
168 - }
169 if (item.component_props.tag === "image_uploader") { 166 if (item.component_props.tag === "image_uploader") {
170 image_uploader.value.push(el); 167 image_uploader.value.push(el);
171 } 168 }
...@@ -425,9 +422,6 @@ const checkRules = () => { ...@@ -425,9 +422,6 @@ const checkRules = () => {
425 422
426 // 操作绑定自定义字段回调 423 // 操作绑定自定义字段回调
427 const onActive = (item) => { 424 const onActive = (item) => {
428 - if (item.key === "area_picker") {
429 - postData.value[item.filed_name] = item.value;
430 - }
431 if (item.key === "image_uploader") { 425 if (item.key === "image_uploader") {
432 postData.value[item.filed_name] = item.value; 426 postData.value[item.filed_name] = item.value;
433 } 427 }
...@@ -461,18 +455,6 @@ const validOther = () => { ...@@ -461,18 +455,6 @@ const validOther = () => {
461 status: true, 455 status: true,
462 key: "", 456 key: "",
463 }; 457 };
464 - if (area_picker.value) {
465 - // 省市区地址
466 - area_picker.value.forEach((item, index) => {
467 - if (!area_picker.value[index].validAreaPicker()) {
468 - valid = {
469 - status: area_picker.value[index].validAreaPicker(),
470 - key: "area_picker",
471 - };
472 - return false;
473 - }
474 - });
475 - }
476 if (image_uploader.value) { 458 if (image_uploader.value) {
477 // 图片上传 459 // 图片上传
478 image_uploader.value.forEach((item, index) => { 460 image_uploader.value.forEach((item, index) => {
......