feat: fix "" > ''

pull/33/head
orzi! 2 years ago
parent 2c81762762
commit 57e7443e10

@ -113,7 +113,7 @@ const replyAtUsername = ref('');
const replyComposeRef = ref();
const emit = defineEmits<{
(e: "reload"): void
(e: 'reload'): void
}>();
const props = withDefaults(defineProps<{
comment: Item.CommentProps

@ -170,7 +170,7 @@ import { parsePostTag } from '@/utils/content';
import type { MentionOption, UploadFileInfo, UploadInst } from 'naive-ui';
const emit = defineEmits<{
(e: "post-success"): void
(e: 'post-success'): void
}>();
const props = withDefaults(defineProps<{
lock: number,

@ -50,11 +50,11 @@ const props = withDefaults(defineProps<{
}>(), {
commentId: 0,
atUserid: 0,
atUsername: ""
atUsername: ''
});
const emit = defineEmits<{
(e: "reload"): void,
(e: "reset"): void
(e: 'reload'): void,
(e: 'reset'): void
}>();
const inputInstRef = ref<InputInst>();
const showReply = ref(false);

@ -76,8 +76,8 @@ const props = withDefaults(defineProps<{
}>(), {});
const store = useStore();
const emit = defineEmits<{
(e: "focusReply", reply: Item.ReplyProps): void,
(e: "reload"): void
(e: 'focusReply', reply: Item.ReplyProps): void,
(e: 'reload'): void
}>();
const focusReply = () => {

@ -136,7 +136,7 @@ declare module NetParams {
}
interface PostGetTags {
type: "hot" | string,
type: 'hot' | string,
num: number
}

@ -285,9 +285,9 @@ const modelData = reactive({
imgCaptcha: '',
phone: '',
phone_captcha: '',
password: "",
old_password: "",
reenteredPassword: "",
password: '',
old_password: '',
reenteredPassword: '',
});
const beforeUpload = async (data: any) => {

Loading…
Cancel
Save