fix(release): 发布1.4.5并加固登录与灵动岛体验
登录连续五次失败封禁五分钟,修复两端错误提示;教师导入逐人生成随机密码并提供一次性清单。统一自定义岛外观与控件,修复圆角配置和全天课表对齐,临近下课显示课程旁秒数徽标;客户端更新改为云端统一下发。同步发布版本、帮助文档及隔离回归。
This commit is contained in:
1 parent
9351203deb
commit
0b57e926bd
52 files changed
+746
-821
No files matched your search
@@ -37,7 +37,6 @@ const selectedId = ref(''),
|
||||
rowId = ref(''),
|
||||
inspectorOpen = ref(false),
|
||||
editMode = ref(false),
|
||||
showTip = ref(true),
|
||||
zoom = ref(1),
|
||||
importInput = ref<HTMLInputElement>();
|
||||
const scheme = computed(() =>
|
||||
@@ -69,11 +68,6 @@ const library: { kind: IslandComponentKind; description: string }[] = [
|
||||
{ kind: 'group', description: '将多个组件组合到一个组件中显示。' },
|
||||
{ kind: 'stack', description: '将多个容器堆叠显示。' },
|
||||
];
|
||||
const messageLibrary: { kind: IslandComponentKind; description: string }[] = [
|
||||
{ kind: 'notification', description: '显示班级收到的通知。' },
|
||||
{ kind: 'homework', description: '显示班级作业提醒。' },
|
||||
{ kind: 'call', description: '显示教师的叫人提醒。' },
|
||||
];
|
||||
const containers: readonly string[] = ['group', 'stack', 'slide', 'rolling'];
|
||||
function id() {
|
||||
return crypto.randomUUID();
|
||||
@@ -773,34 +767,7 @@ function dropPreview(event: PointerEvent) {
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<h4 class="message-library-title">班级消息</h4>
|
||||
<div class="component-options message-options">
|
||||
<button
|
||||
v-for="item in messageLibrary"
|
||||
:key="item.kind"
|
||||
class="library-item"
|
||||
:data-library-kind="item.kind"
|
||||
:aria-label="`添加${ISLAND_COMPONENT_LABELS[item.kind]}`"
|
||||
@pointerdown="beginDrag($event, { kind: item.kind, label: ISLAND_COMPONENT_LABELS[item.kind] })"
|
||||
@click="add(item.kind)"
|
||||
>
|
||||
<ComponentIcon :kind="item.kind" />
|
||||
<span>
|
||||
<strong>{{ ISLAND_COMPONENT_LABELS[item.kind] }}</strong>
|
||||
<span class="component-description">{{ item.description }}</span>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</section>
|
||||
<div v-if="showTip" class="editor-tip" role="note">
|
||||
<el-icon class="tip-icon"><InfoFilled /></el-icon>
|
||||
<span>
|
||||
<strong>编辑提示:</strong>
|
||||
现在可以使用「编辑模式」更加直观地编辑主界面上的组件!
|
||||
</span>
|
||||
<el-button @click="editMode = !editMode">{{ editMode ? '退出编辑模式' : '进入编辑模式' }}</el-button>
|
||||
<button class="dismiss-tip" aria-label="关闭编辑提示" @click="showTip = false">×</button>
|
||||
</div>
|
||||
</template>
|
||||
<el-skeleton v-else :rows="8" animated />
|
||||
<input ref="importInput" type="file" accept="application/json,.json" hidden @change="importScheme" />
|
||||
|
||||
Reference in new issue
Block a user