Explorar el Código

无用代码处理

@dongkboy hace 1 año
padre
commit
2ddaa86cd0

+ 3 - 3
src/views/insuranceCompanyConfiguration/insuranceCompanyConfig.vue

@@ -124,7 +124,7 @@
 import api from '@/api';
 import { ElTag, ElMessage } from 'element-plus'
 import ImagePreview from '@/components/ImagePreview/index.vue';
-import { FormRules, FormInstance, UploadFile, ComponentSize, ElMessageBox } from 'element-plus';
+import { FormRules, FormInstance, ComponentSize, ElMessageBox } from 'element-plus';
 
 interface Column {
   key?: string,
@@ -152,7 +152,7 @@ const cpmpanyform = reactive({
   logo: "",//图片id
   id: '',
 })
-const validateCode = (rule: any, value: any, callback: any) => {
+const validateCode = (_rule: any, value: any, callback: any) => {
   // 定义正则表达式,例如:只允许字母、数字,长度在4到10个字符之间
   const codeRegex = /^[A-Z0-9]+$/i;
   // 判断是否为空
@@ -447,7 +447,7 @@ const sysIconupload = (file: any) => {
     }
   })
 }
-const handleRemove = (file: UploadFile) => {
+const handleRemove = () => {
   sysIconList.url = '';
   uploadDisabled.value = false;
 

+ 0 - 2
src/views/organizationManagement/tenantPermissions.vue

@@ -80,8 +80,6 @@ const roleInfo = reactive<{
 const treekAll = ref(false)//全选
 const isIndeterminate = ref(true)
 const checkedCities = ref([])//默认选中
-const PageNum = ref<number>(1);//页数
-const PageSize = ref<number>(1000);//条数
 const searchValue = ref<string>()//检索条件
 const tenantList = ref<tenantList>()//租户列表
 const treeData = ref<TreeNode[]>([]);//菜单原始数据