huangbin 4 anos atrás
pai
commit
edb4e26248

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

@@ -56,9 +56,6 @@ export default defineComponent({
     setup(props, context) {
         // 表格列表数据
         const { loading, tableList, queryTable } = queryTableList<WrOrderQuoteDetail>();
-        function open(item: btnListType, record: WrOrderQuote) {
-            context.emit('openComponent', item, record);
-        }
         const { wrpricetype, haswr, tableKey } = getBuyMarketParam(props.enumName);
         // 获取列表数据
         const queryTableAction = () => {
@@ -80,7 +77,6 @@ export default defineComponent({
             isDetail: false,
         };
         return {
-            open,
             ...handleComposeTable<WrOrderQuoteDetail>(param),
             loading,
             tableList,

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

@@ -57,9 +57,7 @@ export default defineComponent({
     setup(props, context) {
         // 表格列表数据
         const { loading, tableList, queryTable } = queryTableList<WrOrderQuoteDetail>();
-        function open(item: btnListType, record: WrOrderQuote) {
-            context.emit('openComponent', item, record);
-        }
+
         const { wrpricetype, haswr, tableKey } = getSellMarketParam(props.enumName);
         // 获取列表数据
         const queryTableAction = () => {
@@ -84,7 +82,6 @@ export default defineComponent({
             ...handleComposeTable<WrOrderQuoteDetail>(param),
             loading,
             tableList,
-            open,
         };
     },
 });