File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 "dependencies" : {
3131 "@antv/g2" : " ^5.4.8" ,
3232 "@element-plus/icons-vue" : " ^2.3.2" ,
33- "@jx3box/jx3box-common" : " ^9.2.1 " ,
33+ "@jx3box/jx3box-common" : " ^9.2.2 " ,
3434 "@jx3box/jx3box-data" : " ^3.9.4" ,
3535 "@jx3box/jx3box-dict" : " ^2.2.4" ,
36- "@jx3box/jx3box-editor" : " ^3.1.2 " ,
36+ "@jx3box/jx3box-editor" : " ^3.1.3 " ,
3737 "@jx3box/jx3box-emotion" : " ^1.3.0" ,
3838 "@jx3box/jx3box-macro" : " ^1.0.3" ,
3939 "@jx3box/jx3box-map" : " ^1.1.4" ,
4040 "@jx3box/jx3box-talent" : " ^1.3.12" ,
41- "@jx3box/jx3box-ui" : " ^2.1.4 " ,
41+ "@jx3box/jx3box-ui" : " ^2.1.12 " ,
4242 "@tinymce/tinymce-vue" : " ^5.1.1" ,
4343 "@vueuse/core" : " ^9.13.0" ,
4444 "@vueuse/head" : " ^0.7.6" ,
Original file line number Diff line number Diff line change @@ -150,6 +150,28 @@ const routes = [
150150 } ,
151151 ] ,
152152 } ,
153+
154+ {
155+ name : "view_alias" ,
156+ path : "/:id(\\d+)" ,
157+ redirect : ( to ) => {
158+ return `/view/${ to . params . id } ` ;
159+ } ,
160+ } ,
161+ {
162+ name : "achievement_alias" ,
163+ path : "/achievement/:id(\\d+)" ,
164+ redirect : ( to ) => {
165+ return `/view/${ to . params . id } ` ;
166+ } ,
167+ } ,
168+ {
169+ name : "achievement_view_alias" ,
170+ path : "/achievement/view/:id(\\d+)" ,
171+ redirect : ( to ) => {
172+ return `/view/${ to . params . id } ` ;
173+ } ,
174+ } ,
153175] ;
154176
155177if ( isMiniProgram ( ) || isApp ( ) ) {
Original file line number Diff line number Diff line change 22 <div class =" v-knowledge-single" v-loading =" loading" >
33 <div v-if =" !isRobot" class =" u-detail-title" >
44 <span >{{ title }}</span >
5- <el-tag v-if =" categoryLabel" class =" u-detail-category" size =" small" effect =" light" >{{ categoryLabel }}</el-tag >
5+ <el-tag v-if =" categoryLabel" class =" u-detail-category" size =" small" effect =" light" >{{
6+ categoryLabel
7+ }}</el-tag >
68 </div >
79 <div v-else class =" m-robot-header" >
810 <div class =" m-robot-header__left" >
@@ -363,8 +365,7 @@ export default {
363365 mounted () {
364366 this .loadKnowledgeTypes ();
365367 bus .on (" openWikiPush" , (param ) => {
366- console .log (this .wiki_post );
367- if (! this .data ? .source ? .post ? .id ) {
368+ if (! this .data ? .source ? .id ) {
368369 return this .$message .warning (" 该通识没有攻略" );
369370 }
370371 this .$refs .wikiPanel ? .onPush ();
You can’t perform that action at this time.
0 commit comments