marymelisa 4 vuotta sitten
vanhempi
commit
c519c74a7b

+ 2 - 2
src/views/market/spot_trade/components/buy-sell-market/components/buy/index.vue

@@ -44,7 +44,7 @@ import { expandIcon } from '@/common/setup/table/clolumn';
 import { ColumnType } from '@/common/methods/table/interface';
 import { Moment } from 'moment';
 import moment from 'moment';
-import { getHasBottom } from '@/common/setup/order/orderData';
+import { getShowBottomValue } from '@/common/config/constrolBottom';
 
 export default defineComponent({
     emits: ['cancel', 'openComponent'],
@@ -72,7 +72,7 @@ export default defineComponent({
         [ModalEnum.spot_trade_warehouse_delisting]: defineAsyncComponent(() => import('../delisting/index.vue')),
     },
     setup(props, context) {
-        const isBottom = getHasBottom();
+        const isBottom = getShowBottomValue();
         console.log(isBottom.value, 'isBottom');
         // 表格列表数据
         const { loading, tableList, queryTable } = queryTableList<WrOrderQuoteDetail>();

+ 2 - 2
src/views/market/spot_trade/components/buy-sell-market/components/sell/index.vue

@@ -43,7 +43,7 @@ import { expandIcon } from '@/common/setup/table/clolumn';
 import { ColumnType } from '@/common/methods/table/interface';
 import { Moment } from 'moment';
 import moment from 'moment';
-import { getHasBottom } from '@/common/setup/order/orderData';
+import { getShowBottomValue } from '@/common/config/constrolBottom';
 
 export default defineComponent({
     emits: ['cancel', 'openComponent'],
@@ -72,7 +72,7 @@ export default defineComponent({
         [ModalEnum.spot_trade_warehouse_financing_delisting]: defineAsyncComponent(() => import('../financing_delisting/index.vue')),
     },
     setup(props, context) {
-        const isBottom = getHasBottom();
+        const isBottom = getShowBottomValue();
         console.log(isBottom.value, 'isBottom');
         // 表格列表数据
         const { loading, tableList, queryTable } = queryTableList<WrOrderQuoteDetail>();