hookehuyr

fix

......@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-31 12:06:19
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-06-01 00:50:37
* @LastEditTime: 2022-06-03 00:05:56
* @FilePath: /tswj/src/main.js
* @Description:
*/
......@@ -12,7 +12,7 @@ import router from './router';
import App from './App.vue';
// import axios from './utils/axios';
import axios from '@/utils/axios';
import 'default-passive-events'; // 解决Chrome控制台non-passive event listener输出问题
// import 'default-passive-events'; // 解决Chrome控制台non-passive event listener输出问题
import { createPinia } from 'pinia';
const pinia = createPinia();
......
......@@ -22,9 +22,11 @@ export const styleObject2 = ref({
})
export const styleObject3 = ref({
backgroundColor: '#6D97D2',
// backgroundColor: '#6D97D2',
backgroundColor: '#F4675A',
color: styleColor.baseFontColor,
borderColor: '#6D97D2'
// borderColor: '#6D97D2'
borderColor: '#F4675A'
})
export const styleObject4 = ref({
......
......@@ -230,6 +230,9 @@ const uploadVideo = () => {
str
}
})
setTimeout(() => {
show.value = false;
}, 2000);
}
} else if (userInfo.value.can_upload === -1) { // 未实名认证
showNotice.value = true;
......
......@@ -44,9 +44,6 @@ const $router = useRouter();
const disagree = () => {
$router.go(-1);
setTimeout(() => {
show.value = false;
}, 2000);
}
const show = ref(false); // 跳转等待提示
......