瀏覽代碼

vuejs emits warn fix

bach 1 年之前
父節點
當前提交
8e0edfed5b
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/components/layout/CartoucheLayout.vue

+ 1 - 0
src/components/layout/CartoucheLayout.vue

@@ -8,6 +8,7 @@ import { mdiHeadphones } from '@mdi/js';
 
 export default {
   props: ['cid'],
+  emits: ['main_scrolled'],
   data(){
     return {
       headphones_path: mdiHeadphones,