|
@@ -34,7 +34,7 @@
|
|
|
</span>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="btn">
|
|
|
- <el-button type="primary" @click="onSubmit">提交</el-button>
|
|
|
+ <van-button :loading="loading" round type="info" size="large" @click="onSubmit" :loading-text="loadingText">提交</van-button>
|
|
|
</el-col>
|
|
|
</el-form>
|
|
|
</el-col>
|
|
@@ -49,10 +49,12 @@ export default {
|
|
|
props: {
|
|
|
info: { type: Object, required: true },
|
|
|
form: null,
|
|
|
+ loading: Boolean,
|
|
|
},
|
|
|
components: {},
|
|
|
data: () => ({
|
|
|
task: {},
|
|
|
+ loadingText: '加载中...',
|
|
|
}),
|
|
|
created() {},
|
|
|
computed: {},
|