File tree Expand file tree Collapse file tree 4 files changed +7
-14
lines changed Expand file tree Collapse file tree 4 files changed +7
-14
lines changed Original file line number Diff line number Diff line change 66
77<script >
88export default {
9- name: ' Tag ' ,
9+ name: ' ProblemTag ' ,
1010 props: {
1111 content: {
1212 type: String ,
Original file line number Diff line number Diff line change 7878 </div >
7979 </div >
8080 <div class =" tags" v-if =" showTag" >
81- <Tag
81+ <ProblemTag
8282 v-for =" item in rendertags"
8383 :key =" item.content"
8484 color =" #fff"
9999import timeFormat from ' ./../../methods/time' ;
100100import apiurl from ' ./../../apiurl' ;
101101import MarkdownContainer from ' ./../lib/MarkdownContainer.vue' ;
102- import Tag from ' ./../lib/tag .vue' ;
102+ import ProblemTag from ' ./../lib/problemTag .vue' ;
103103
104104export default {
105105 name: ' ProblemView' ,
@@ -173,7 +173,7 @@ export default {
173173 },
174174 components: {
175175 MarkdownContainer,
176- Tag
176+ ProblemTag
177177 }
178178};
179179 </script >
Original file line number Diff line number Diff line change 2020 v-model =" limit"
2121 :step =" 10"
2222 :min =" 10"
23- @change =" refresh"
2423 style =" margin-top : 10px ;"
2524 />
2625 </el-col >
@@ -119,12 +118,6 @@ export default {
119118 x .tag = (< listTag tags= { x .tags }>< / listTag> );
120119
121120 return x;
122- },
123- refresh () {
124- // this.alive = false;
125- // this.$nextTick(() => {
126- // this.alive = true;
127- // });
128121 }
129122 },
130123 components: {
Original file line number Diff line number Diff line change 11<template >
22 <div >
33 <div v-if =" $store.state.tags.displayTags" >
4- <Tag
4+ <ProblemTag
55 v-for =" item in this.rendertags"
66 :key =" item.content"
77 color =" #fff"
1515</template >
1616
1717<script >
18- import Tag from ' ./../lib/tag .vue' ;
18+ import ProblemTag from ' ./../lib/problemTag .vue' ;
1919import apiurl from ' ./../../apiurl' ;
2020
2121export default {
@@ -55,7 +55,7 @@ export default {
5555 this .loadTag ();
5656 },
5757 components: {
58- Tag
58+ ProblemTag
5959 }
6060};
6161 </script >
You can’t perform that action at this time.
0 commit comments