parent
55f5073307
commit
ca319ffa5e
|
|
@ -1,23 +0,0 @@
|
||||||
/**
|
|
||||||
* 登录请求参数
|
|
||||||
*/
|
|
||||||
export interface LoginData {
|
|
||||||
/**
|
|
||||||
* 用户名
|
|
||||||
*/
|
|
||||||
username: string;
|
|
||||||
/**
|
|
||||||
* 密码
|
|
||||||
*/
|
|
||||||
password: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 验证码缓存key
|
|
||||||
*/
|
|
||||||
// verifyCodeKey?: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 验证码
|
|
||||||
*/
|
|
||||||
// verifyCode?: string;
|
|
||||||
}
|
|
||||||
|
|
@ -20,7 +20,6 @@
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { is_obj_empty } from '@/utils';
|
import { is_obj_empty } from '@/utils';
|
||||||
|
|
||||||
const app = getCurrentInstance();
|
const app = getCurrentInstance();
|
||||||
/**
|
/**
|
||||||
* @description: 页面链接
|
* @description: 页面链接
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,6 @@ const app = getCurrentInstance();
|
||||||
* @param modelValue{Object} 默认值
|
* @param modelValue{Object} 默认值
|
||||||
* @param dialogVisible {Boolean} 弹窗显示
|
* @param dialogVisible {Boolean} 弹窗显示
|
||||||
* @param type{String} 链接类型为空数组则表示无限制,全部可用,传过来则表示传的值可用
|
* @param type{String} 链接类型为空数组则表示无限制,全部可用,传过来则表示传的值可用
|
||||||
* @param placeholder{String} 提示文字
|
|
||||||
* @return {*} update:modelValue
|
* @return {*} update:modelValue
|
||||||
*/
|
*/
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|
@ -76,7 +75,7 @@ const props = defineProps({
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
const modelValue = defineModel({ type: Object, default: {} });
|
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 link_value = ref({});
|
||||||
const reset_compontent = ref(false);
|
const reset_compontent = ref(false);
|
||||||
const custom_link_type = ref(props.type);
|
const custom_link_type = ref(props.type);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue