提交 a1a28061 编写于 作者: RedPig97's avatar RedPig97

update: 更新

上级 2d8c1cc2
......@@ -253,7 +253,7 @@ const onLanguageChange = (item: string) => {
:value="language"
v-for="(language,index) in languages"
:key="index"
>\{{language}}</a-select-option>
>{{language}}</a-select-option>
</a-select>
</div>
<div class="right-toolbar">
......
......@@ -45,9 +45,9 @@ const emit = defineEmits<EditorEmit>();
<template>
<div :class="['app-raw-item', 'app-raw', `app-raw-${name}`]">
<div class="raw-caption" v-if="caption">\{{ caption }}</div>
<div class="raw-caption" v-if="caption">{{ caption }}</div>
<div v-if="Object.is(contentType, 'RAW')">
\{{ value }}
{{ value }}
</div>
<div v-else-if="Object.is(contentType, 'HTML')" v-html="value" />
<div v-else-if="Object.is(contentType, 'IMAGE')">
......
......@@ -134,7 +134,7 @@ onBeforeMount(() => {
<template>
<div :class="['app-editor-container', 'app-span', `app-span-${name}`]">
<span v-format="textFormat">\{{text}}</span>
<span v-format="textFormat">{{text}}</span>
</div>
</template>
......
......@@ -134,11 +134,11 @@ const onChange = ($event: any) => {
@change="onChange">
<a-button v-if="Object.is(listType,'text')">
<upload-outlined></upload-outlined>
\{{tooltip}}
{{tooltip}}
</a-button>
<div v-else>
<plus-outlined />
<div class="ant-upload-text">\{{tooltip}}</div>
<div class="ant-upload-text">{{tooltip}}</div>
</div>
</a-upload>
</div>
......
......@@ -48,7 +48,7 @@ const handleMenuGroupAction = ($event: IParam) => {
<template v-if="Object.is(uIActionGroup.extractMode, 'ITEMS')">
<a-dropdown>
<a class="group-action" @click.prevent>
\{{uIActionGroup.caption}}
{{uIActionGroup.caption}}
</a>
<template #overlay>
<a-menu @click="handleMenuGroupAction">
......
......@@ -45,7 +45,7 @@ const initRules = () => {
:validateStatus="error ? 'error' : 'validating'"
>
<template #label>
<label :style="{ width: labelWidth + 'px' }" :class="titleStyle">\{{ label }}</label>
<label :style="{ width: labelWidth + 'px' }" :class="titleStyle">{{ label }}</label>
</template>
<slot></slot>
</a-form-item>
......
......@@ -34,7 +34,7 @@ const extraClass = {
<i v-if="iconClass" :class="'app-icon-text__icon ' + iconClass" />
<img v-else-if="imgPath" class="app-icon-text__icon-img" :src="imgPath" />
</template>
<span class="app-icon-text__text" v-if="text">\{{text}}</span>
<span class="app-icon-text__text" v-if="text">{{text}}</span>
<template v-if="position == 'right'">
<i v-if="iconClass" :class="'app-icon-text__icon ' + iconClass" />
<img v-else-if="imgPath" class="app-icon-text__icon-img" :src="imgPath" />
......
......@@ -45,7 +45,7 @@ const getLayout = (item: IParam ,name: string) => {
<a-space :size="24" class="app-menu__card--flex">
<template v-for="item in menu.items">
<a-button v-if="!item.hidden" size="large" :class="['app-menu-item', item.itemSysCss]" @click="onClick(item)">
\{{ item.caption }}
{{ item.caption }}
</a-button>
</template>
</a-space>
......@@ -64,7 +64,7 @@ const getLayout = (item: IParam ,name: string) => {
@click="onClick(item)"
>
<a-button size="large">
\{{ item.caption }}
{{ item.caption }}
</a-button>
</a-col>
</a-row>
......
......@@ -74,7 +74,7 @@ const dropdownList = [
<template>
<div class="app-user">
<span class="user-name">\{{ user.name }}</span>
<span class="user-name">{{ user.name }}</span>
<a-dropdown>
<a-avatar size="large" :src="user.avatar" @click.prevent>
<template #icon><AppIconText iconClass="fa fa-user-o"></AppIconText></template>
......@@ -82,7 +82,7 @@ const dropdownList = [
<template #overlay>
<a-menu @click="dropdownClick">
<a-menu-item :value="item.tag" v-for="item in dropdownList" :key="item.tag">
\{{ item.label }}
{{ item.label }}
</a-menu-item>
</a-menu>
</template>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册