Commit 81f54bc5 authored by daniel's avatar daniel

feat(gunRule): 发枪预约优化

parent 1f0dcf6d
...@@ -282,12 +282,12 @@ ...@@ -282,12 +282,12 @@
</n-button> </n-button>
<n-upload <n-upload
v-if="gunRuleValue?.id" v-if="gunRuleValue?.id"
:disabled="gunRuleValue.isOpen!=='1'" :disabled="gunRuleValue.isOpen==='1'"
@change="onFileUpload" @change="onFileUpload"
v-model:file-list="fileList" v-model:file-list="fileList"
> >
<n-button :type="gunRuleValue.isOpen==='1'?'primary':'error'"> <n-button :type="gunRuleValue.isOpen!=='1'?'primary':'error'">
{{gunRuleValue.isOpen==='1'?'导入选手名单':'预约已开始,无法导入选手名单,请先关闭预约再导入.'}} {{gunRuleValue.isOpen!=='1'?'导入选手名单':'预约已开始,无法导入选手名单,请先关闭预约再导入.'}}
</n-button> </n-button>
</n-upload> </n-upload>
</n-space> </n-space>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment