|
@@ -119,6 +119,7 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
// 上传之前
|
|
// 上传之前
|
|
async beforeUpload(file) {
|
|
async beforeUpload(file) {
|
|
|
|
+ this.btnType = 'primary'
|
|
if (this.measure || this.size) {
|
|
if (this.measure || this.size) {
|
|
await this.measureChecked(file).then((res) => {
|
|
await this.measureChecked(file).then((res) => {
|
|
if (res) {
|
|
if (res) {
|