文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit ad706141 by 郭婉茹

file.url connect to documentId

parent 6f42d1ce
...@@ -44,10 +44,7 @@ export default { ...@@ -44,10 +44,7 @@ export default {
} }
switch (type) { switch (type) {
case "文本": case "文本":
self.$router.push({ name: 'SelectedText', path: '/selected', params: {documentId: documentId} }); goto("SelectedText");
break;
case "表格":
self.$router.push({ name: 'Tabled', path: '/tabled', params: {documentId: documentId} });
break; break;
case "图片": case "图片":
goto("image"); goto("image");
......
...@@ -45,10 +45,7 @@ export default { ...@@ -45,10 +45,7 @@ export default {
} }
switch (type) { switch (type) {
case "文本": case "文本":
self.$router.push({ name: 'SelectedText', path: '/selected', params: {documentId: documentId} }); goto("SelectedText");
break;
case "表格":
self.$router.push({ name: 'Tabled', path: '/tabled', params: {documentId: documentId} });
break; break;
case "图片": case "图片":
goto("image"); goto("image");
......
...@@ -44,10 +44,7 @@ export default { ...@@ -44,10 +44,7 @@ export default {
} }
switch (type) { switch (type) {
case "文本": case "文本":
self.$router.push({ name: 'SelectText', path: '/select', params: {documentId: documentId} }); goto("SelectText");
break;
case "表格":
self.$router.push({ name: 'Table', path: '/table', params: {documentId: documentId} });
break; break;
case "图片": case "图片":
goto("image"); goto("image");
......
<template> <template>
<div class="select-container"> <div class="select-container">
<el-container style="margin-top: 40px" :style="{ height : height_res-40+'px'}"> <el-container style="margin-top: 40px">
<el-aside <el-aside
class="sidebar" class="sidebar"
style="background-color: rgba(255,255,255,0);box-shadow: 0px 0px 0px rgba(255,255,255,0);padding-right: 20px" style="background-color: rgba(255,255,255,0);box-shadow: 0px 0px 0px rgba(255,255,255,0);padding-right: 20px"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment