li.shaoyi 3 年之前
父节点
当前提交
4bafc18bdc
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/views/market/spot_trade/components/post_buying/index.vue

+ 1 - 2
src/views/market/spot_trade/components/post_buying/index.vue

@@ -1,6 +1,6 @@
 <template>
   <!-- 挂牌求购 -->
-  <Drawer :title="enumName === EnumRouterName.warehouse_pre_sale_price ? '挂牌' : '挂牌求购'" :placement="'right'" :visible="visible" @cancel="cancel" class="top">
+  <Drawer :title="showListingType ? '挂牌' : '挂牌求购'" :placement="'right'" :visible="visible" @cancel="cancel" class="top">
     <div class="post_buying">
       <a-form class="inlineForm dialogForm" ref="formRef" :model="formState" :rules="rules">
         <div class="formBar">
@@ -325,7 +325,6 @@ export default defineComponent({
       });
     }
     return {
-      EnumRouterName,
       submit,
       cancel,
       loading,