[RDView] 啊草我 degug 怎么还在里面(
This commit is contained in:
parent
4e1e57b08e
commit
a14b4436f5
@ -1,5 +1,8 @@
|
||||
# 更新信息
|
||||
|
||||
#### 2026-01-16
|
||||
- RDTKView(~~RDView2~~) 已完成部署
|
||||
|
||||
#### 2026-01-14
|
||||
- 制作人员表增加了
|
||||
- RDView 对正式版编辑器新特性的部分适配
|
||||
|
||||
@ -15,7 +15,6 @@ export function render(data, width, height, scale = 2.0) {
|
||||
for (let obj of objs) {
|
||||
const style = { ...eventStyle, enabled: obj.active ?? true };
|
||||
const elem = createElementEvent(obj, style);
|
||||
console.log(obj, elem);
|
||||
if (!elem) continue;
|
||||
elem.eventStyle = style;
|
||||
elem.style.position = "absolute";
|
||||
@ -58,11 +57,9 @@ export function render(data, width, height, scale = 2.0) {
|
||||
|
||||
window.$docsify.plugins = [].concat(window.$docsify.plugins, (hook) => {
|
||||
hook.doneEach(() => {
|
||||
console.log("hello");
|
||||
const pres = document.querySelectorAll("pre");
|
||||
pres.forEach((codeBlock) => {
|
||||
const lang = codeBlock.getAttribute("data-lang") || "";
|
||||
console.log(codeBlock, lang);
|
||||
if (lang.startsWith("rdtkview")) {
|
||||
const code = codeBlock.querySelector("code").innerText || "";
|
||||
const args = lang.slice(8).trim().split(" ");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user