style: panel样式调整
This commit is contained in:
@@ -76,7 +76,7 @@ export function nzNumber (rule, value, callback) {
|
||||
}
|
||||
|
||||
export function noSpecialChar (rule, value, callback) {
|
||||
const charReg = /[u4e00-u9fa5a-z0-9A-Z-_.]+$/
|
||||
const charReg = /^[\u4e00-\u9fa5a-z0-9A-Z-_.]+$/
|
||||
setTimeout(() => {
|
||||
if (charReg.test(value)) {
|
||||
callback()
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</transition>
|
||||
</div>
|
||||
<div class="main-container" style="padding-right: 0">
|
||||
<div class="top-tools" style="z-index: 10">
|
||||
<div class="top-tools">
|
||||
<div v-if="panelData.length == 0" class="top-tool-left" style="margin-left: 10px;">
|
||||
<button id="panel-add-panel" class="nz-btn nz-btn-style-light nz-btn-size-small" @click="toAdd"><i class="nz-icon nz-icon-create-square"></i> {{$t("dashboard.panel.createPanelTitleSec")}}</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user