@jx3box/jx3box-common-ui 7.7.0 → 7.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/bread/ListAdmin.vue +3 -3
package/package.json
CHANGED
package/src/bread/ListAdmin.vue
CHANGED
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
<el-empty v-else description="暂无主题"></el-empty>
|
|
32
32
|
|
|
33
33
|
<div class="c-admin-buttons">
|
|
34
|
-
|
|
35
|
-
<el-button type="plain" @click="close">关闭</el-button>
|
|
34
|
+
<el-button type="success" @click="add" icon="el-icon-plus">新增</el-button>
|
|
35
|
+
<el-button type="plain" @click="close" icon="el-icon-close">关闭</el-button>
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
38
38
|
</el-drawer>
|
|
@@ -119,7 +119,7 @@ export default {
|
|
|
119
119
|
});
|
|
120
120
|
},
|
|
121
121
|
add() {
|
|
122
|
-
this.$prompt("请输入主题名称", "
|
|
122
|
+
this.$prompt("请输入主题名称", "新增主题", {
|
|
123
123
|
confirmButtonText: "确定",
|
|
124
124
|
cancelButtonText: "取消",
|
|
125
125
|
inputPattern: /\S+/,
|