changes
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
class="file-input"
|
||||
ref="file-input"
|
||||
type="file"
|
||||
:id="docid"
|
||||
:id="$id()"
|
||||
:multiple="multiple ?? true"
|
||||
name="resume"
|
||||
@change="doChange"
|
||||
@@ -52,14 +52,13 @@ const props = defineProps({
|
||||
});
|
||||
|
||||
const emit = defineEmits(["files"]);
|
||||
const { $id, $snackbar, $upload } = useNuxtApp();
|
||||
const { $snackbar, $upload } = useNuxtApp();
|
||||
|
||||
const fileInput = useTemplateRef("file-input");
|
||||
const vtype = props.type || ["image"];
|
||||
const files = ref(); // files selected in <input>
|
||||
const dataFiles = ref(); // files returned by $upload
|
||||
const showmodal = ref();
|
||||
const docid = $id();
|
||||
|
||||
function getFileExtension(fileName) {
|
||||
if (!fileName || typeof fileName !== "string") return "";
|
||||
|
||||
Reference in New Issue
Block a user