Browse Source

change readme

master
godo 5 months ago
parent
commit
d0a820a19b
  1. 6
      README.md
  2. 3
      frontend/src/components/computer/Computer.vue
  3. 14
      frontend/src/components/computer/ComputerNavBar.vue

6
README.md

@ -98,9 +98,11 @@ docker run -d -p 56780:56780 --name godoos godoos/godoos:latest
- ***完善的应用商店体系,简单学习一下[应用商店配置](./docs/Store.md)即可开发出复杂的应用***
## 💖 开源地址
- [Gitee](https://gitee.com/ruitao_admin/godoos)
- [Gitee](https://gitee.com/godoos/godoos)
- [Gitcode](https://gitcode.com/aiok/godoos)
- [Github](https://github.com/phpk/godoos)
## 🚀 演示视频
- [全程操作](https://www.bilibili.com/video/BV1NdvaeEEz3/?vd_source=739e0e59aeefdb2e9f760e5037d00245)
@ -444,4 +446,4 @@ chmod +x osadmin_linux_amd64
## 💌 支持作者
如果觉得不错,或者已经在使用了,希望你可以去
<a target="_blank" href="https://gitee.com/ruitao_admin/godoos">Gitee</a> 帮我点个 ⭐ Star,这将是对我极大的鼓励与支持。
<a target="_blank" href="https://gitee.com/godoos/godoos">Gitee</a> <a target="_blank" href="https://gitcode.com/aiok/godoos">GitCode</a> <a target="_blank" href="https://github.com/phpk/godoos">Github</a> 帮我点个 ⭐ Star,这将是对我极大的鼓励与支持。

3
frontend/src/components/computer/Computer.vue

@ -378,7 +378,8 @@ async function handleNavRefresh(path: string) {
}
}
async function handleNavSearch(path: string) {
setRouter("search:" + path);
console.log(path)
//setRouter("search:" + path);
refersh();
}
document.addEventListener('paste', function() {

14
frontend/src/components/computer/ComputerNavBar.vue

@ -68,7 +68,7 @@
<span
class="path-p"
:key="p"
v-for="(p, index) in modelValue?.split('/').slice(1)"
v-for="(p, index) in modelValue?.split(Split).slice(1)"
@click.stop="handlePathPClick(index)"
>
{{ p }}<span class="iconfont icon-arrow-down"></span
@ -108,7 +108,13 @@
"refresh",
"search",
]);
const Split = computed(() => {
if(props.modelValue?.indexOf("/") === -1){
return "\\";
}else{
return "/";
}
});
function backFolder() {
emit("backFolder");
}
@ -144,9 +150,9 @@
function handlePathPClick(index: number) {
const path = props.modelValue
?.split("/")
?.split(Split.value)
.slice(0, index + 2)
.join("/");
.join(Split.value);
if (path === undefined) return;
if (path === props.modelValue) return;
emit("refresh", path);

Loading…
Cancel
Save