修正完了error
This commit is contained in:
@@ -272,7 +272,7 @@ export default defineComponent({
|
||||
validate()
|
||||
.then(() => {
|
||||
// console.log(toRaw(form),111);
|
||||
let subdata = toRaw(form);
|
||||
const subdata = toRaw(form);
|
||||
// subdata.fileid=picinfo.
|
||||
console.log(subdata);
|
||||
liveadd(subdata);
|
||||
@@ -294,7 +294,7 @@ export default defineComponent({
|
||||
*/
|
||||
|
||||
function startchange(e: string): void {
|
||||
let month=new Date(e).getMonth()+1
|
||||
const month = new Date(e).getMonth()+1
|
||||
console.log(new Date(e).getFullYear()+"-"+month+'-'+new Date(e).getDate())
|
||||
form.dateline =
|
||||
new Date(e).getFullYear() +
|
||||
@@ -326,7 +326,7 @@ export default defineComponent({
|
||||
console.log(videos.value[0].duration);
|
||||
form.fileduration = videos.value[0].duration;
|
||||
});
|
||||
let res = await uploadflie(file.file, (info: any) => {
|
||||
const res = await uploadflie(file.file, (info: any) => {
|
||||
console.log(info);
|
||||
uploadprogress.value = info.percent.toFixed(2) * 100;
|
||||
});
|
||||
@@ -337,7 +337,7 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
async function uploadspic(file: AntUpload) {
|
||||
let res = await uploadflie(file.file, (info: any) => {
|
||||
const res = await uploadflie(file.file, (info: any) => {
|
||||
console.log(info);
|
||||
uploadpicprogress.value = info.percent.toFixed(2) * 100;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user