style(api): 统一代码格式化规范
- 调整 import 语句格式,统一空格和引号风格 - 修复函数参数跨行时的格式对齐问题 - 清理多余空行和注释中的空白字符 - 统一对象属性结尾逗号的使用规范 - 规范化字符串拼接和模板语法的格式 - 优化长参数列表的换行和缩进格式
This commit is contained in:
@@ -55,7 +55,10 @@
|
||||
} from 'ele-admin-pro/es/ele-pro-table/types';
|
||||
import { pageShopMerchant } from '@/api/shop/shopMerchant';
|
||||
import { EleProTable } from 'ele-admin-pro';
|
||||
import { ShopMerchant, ShopMerchantParam } from '@/api/shop/shopMerchant/model';
|
||||
import {
|
||||
ShopMerchant,
|
||||
ShopMerchantParam
|
||||
} from '@/api/shop/shopMerchant/model';
|
||||
|
||||
const props = defineProps<{
|
||||
// 弹窗是否打开
|
||||
@@ -99,7 +102,7 @@
|
||||
},
|
||||
{
|
||||
title: '商户类型',
|
||||
dataIndex: 'shopType',
|
||||
dataIndex: 'shopType'
|
||||
// key: 'shopType'
|
||||
},
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
import SelectData from './components/select-data.vue';
|
||||
import { ShopMerchant } from '@/api/shop/shopMerchant/model';
|
||||
|
||||
const props = withDefaults(
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
value?: any;
|
||||
customerType?: string;
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
// 是否显示编辑弹窗
|
||||
const showEdit = ref(false);
|
||||
const content = ref<string>(props.value)
|
||||
const content = ref<string>(props.value);
|
||||
// 当前编辑数据
|
||||
const current = ref<ShopMerchant | null>(null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user