File tree Expand file tree Collapse file tree 7 files changed +0
-24
lines changed Expand file tree Collapse file tree 7 files changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,6 @@ export default {
173173 name: ' App' ,
174174 setup () {
175175 let box = ref (null );
176- console .log (box .value );
177176
178177 // 由于 template 中的 div 属性 ref 引用了一个对象 box,因此 box 将与这个 div 执行绑定。
179178 // 但由于 setup 执行时期,还未创建实际的 div,所以如果要进行与 box 的交互,必须在生命周期中间执行获取。
@@ -297,7 +296,6 @@ instance.interceptors.response.use(
297296 if (successCode .indexOf (code ) !== - 1 ) {
298297 return res ;
299298 } else {
300- console .log (msg );
301299 return Promise .reject ();
302300 }
303301 },
@@ -307,7 +305,6 @@ instance.interceptors.response.use(
307305 return Promise .reject (error );
308306 } else {
309307 const { message } = error ;
310- console .log (message );
311308 return Promise .reject (error );
312309 }
313310 }
Original file line number Diff line number Diff line change @@ -88,7 +88,6 @@ const useVideoCurrent = () => {
8888 return new Promise < Array < { key : number } > > ( ( resolve , reject ) => {
8989 const { current } = state ;
9090 let result : Array < { key : number } > = [ ] ;
91- console . log ( current ) ;
9291 if ( current + 1 >= videoList . length ) {
9392 const start = current - 2 ;
9493 const end = videoList . length ;
@@ -101,7 +100,6 @@ const useVideoCurrent = () => {
101100 } else {
102101 const start = current - 2 ;
103102 const end = current + 3 ;
104- console . log ( start ) ;
105103 result = videoList . slice ( start , end ) ;
106104 }
107105 }
Original file line number Diff line number Diff line change @@ -68,26 +68,14 @@ const router = createRouter({
6868 routes
6969} ) ;
7070
71- // const routerPush = router.push;
72- // router.push = function(to) {s
73- // console.log("路由拦截push");
74- // return routerPush.call(this, to).catch(error => error);
75- // };
76-
77- // router.back = function() {
78- // console.log("路由拦截back");
79- // return router.go(-1);
80- // };
8171function RouterStack ( router : Router ) {
8272 // const stack = [];
8373 router . afterEach ( ( to , from ) => {
8474 if ( ! store . state . user . loginUser ) {
8575 store . commit ( "setUserInfo" , useRandomName ( ) ) ;
8676 }
87- console . log ( "store" , store . state . user . loginUser ) ;
8877
8978 console . log ( to , from ) ;
90- console . log ( provideStore . planList . value ) ;
9179 } ) ;
9280 return router ;
9381}
Original file line number Diff line number Diff line change @@ -27,8 +27,6 @@ instance.interceptors.response.use(
2727 if ( response && response . data ) {
2828 return Promise . reject ( error ) ;
2929 } else {
30- const { message } = error ;
31- console . log ( message ) ;
3230 return Promise . reject ( error ) ;
3331 }
3432 }
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ export default defineComponent({
2121 let bscroll = reactive ({});
2222 onMounted (() => {
2323 const wrapper = document .getElementById (" wrapper" ) as HTMLElement ;
24- console .log (wrapper );
2524
2625 bscroll = new BScroll (wrapper , {
2726 // movable: true
Original file line number Diff line number Diff line change @@ -61,15 +61,12 @@ export default defineComponent({
6161 const headerHeightAndContentTop = ref (INIT_HEIGHT );
6262 const bindContainertDom = (el : HTMLElement ) => (containerDom = el );
6363 const bindContentDom = (el : HTMLElement ) => (contentElement = el );
64- console .log (contentElement );
6564 const scroll = function () {
6665 const top = containerDom ?.scrollTop || 0 ;
6766 // const mintop =
6867 // INIT_HEIGHT - (top > MAX_TOP_SCROLL ? MAX_TOP_SCROLL : top);
6968 // headerHeightAndContentTop.value = mintop;
70- console .log (top );
7169 if (top > MAX_TOP_SCROLL && contentElement ) {
72- console .log (" 超过了" );
7370 contentElement .style .position = " absolute" ;
7471 contentElement .style .top = INIT_HEIGHT - MAX_TOP_SCROLL + " px" ;
7572
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ export default defineComponent({
1717 setup() {
1818 let refs: unknown ;
1919 const bindRef = (el : unknown ) => {
20- console .log (el );
2120 refs = el ;
2221 };
2322 onMounted (() => {
You can’t perform that action at this time.
0 commit comments