mirror of
https://github.com/dataease/dataease.git
synced 2026-05-20 02:58:10 +08:00
fix: 1.首次添加API数据源输入名称-点击添加时页面未正常跳转 2. api数据集,新建数据表的时候,提示会重叠 3.更换数据源图标
This commit is contained in:
@@ -27,8 +27,9 @@ export default {
|
||||
update: function (el, binding) {
|
||||
const lg = binding.value?.length || 0;
|
||||
const count = el.querySelector(".el-input__count");
|
||||
if (!count) return
|
||||
if (!lg) {
|
||||
if (count.classList.contains("no-zore")) {
|
||||
if (count?.classList?.contains("no-zore")) {
|
||||
count.classList.remove("no-zore");
|
||||
}
|
||||
count.innerHTML = "0/200";
|
||||
@@ -44,6 +45,7 @@ export default {
|
||||
num.style.color = "#1F2329";
|
||||
total.innerHTML = "/200";
|
||||
num.innerHTML = lg;
|
||||
if (!newCount) return
|
||||
newCount.classList.add("el-input__count", "no-zore");
|
||||
newCount.appendChild(num);
|
||||
newCount.appendChild(total);
|
||||
|
||||
Reference in New Issue
Block a user