|
@@ -8,7 +8,7 @@ PlantUML 是一个用来绘制UML图的Java类库。支持的UML图包括:时
|
|
|
|
|
|
## 示例
|
|
## 示例
|
|
|
|
|
|
-<PPlantUML src="/uml/test1.puml" />
|
|
|
|
|
|
+<PPlantUML :src="$withBase('/uml/test1.puml')" />
|
|
|
|
|
|
::: details 查看代码
|
|
::: details 查看代码
|
|
|
|
|
|
@@ -104,6 +104,6 @@ Vue.use(PDoc);
|
|
|
|
|
|
plantUML使用
|
|
plantUML使用
|
|
```html
|
|
```html
|
|
-<PPlantUML src="/uml/test1.puml" />
|
|
|
|
|
|
+<PPlantUML :src="$withBase('/uml/test1.puml')" />
|
|
```
|
|
```
|
|
-* 注:上面的src是项目中的 “docs/.vuepress/public/uml/test1.puml”
|
|
|
|
|
|
+* 注:上面的src指令是项目中的 “docs/.vuepress/public/uml/test1.puml”
|