1.链接优化

sws 2024-08-19
v1.0.0
sws 2024-08-19 10:40:41 +08:00
parent 55f5073307
commit ca319ffa5e
4 changed files with 1 additions and 26 deletions

View File

@ -1,23 +0,0 @@
/**
*
*/
export interface LoginData {
/**
*
*/
username: string;
/**
*
*/
password: string;
/**
* key
*/
// verifyCodeKey?: string;
/**
*
*/
// verifyCode?: string;
}

0
src/api/url-value.ts Normal file
View File

View File

@ -20,7 +20,6 @@
</template>
<script lang="ts" setup>
import { is_obj_empty } from '@/utils';
const app = getCurrentInstance();
/**
* @description: 页面链接

View File

@ -66,7 +66,6 @@ const app = getCurrentInstance();
* @param modelValue{Object} 默认值
* @param dialogVisible {Boolean} 弹窗显示
* @param type{String} 链接类型为空数组则表示无限制全部可用传过来则表示传的值可用
* @param placeholder{String} 提示文字
* @return {*} update:modelValue
*/
const props = defineProps({
@ -76,7 +75,7 @@ const props = defineProps({
},
});
const modelValue = defineModel({ type: Object, default: {} });
const dialogVisible = defineModel('visibleDialog', { type: Boolean, default: false });
const dialogVisible = defineModel('dialogVisible', { type: Boolean, default: false });
const link_value = ref({});
const reset_compontent = ref(false);
const custom_link_type = ref(props.type);