소스 검색

[bug] style

wenliming 3 년 전
부모
커밋
3a21135ac7
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      src/iframe/home.js
  2. 1 0
      src/view/popup/top-up/info.vue

+ 4 - 1
src/iframe/home.js

@@ -6,12 +6,15 @@ const app = createApp(App)
 // 引入路由对象实例
 import router from '@/router/popup.js'
 import "ant-design-vue/dist/antd.css"; // or 'ant-design-vue/dist/antd.less'
+import { Button, message } from "ant-design-vue";
 
-import { message } from "ant-design-vue";
 message.config({
     top: `10px`,
     duration: 3,
     maxCount: 1,
 });
+
+app.use(Button);
+app.use(message);
 app.use(router)
 app.mount('#app')

+ 1 - 0
src/view/popup/top-up/info.vue

@@ -157,6 +157,7 @@ onMounted(() => {
 .info {
     position: relative;
     height: 100%;
+    overflow-y: auto;
 
     .content {
         padding: 12px 16px 0 16px;