1
0
zhangwenjian 5 жил өмнө
parent
commit
5c416ff710

+ 3 - 3
src/views/tools/gen/index.vue

@@ -264,7 +264,7 @@ export default {
       this.$confirm('正在使用代码生成请确认?', '提示', {
         confirmButtonText: '生成',
         cancelButtonText: '取消',
-        type: 'info'
+        type: 'warning'
       }).then(function() {
         toProjectTableCheckRole(row.tableId, false).then(response => {
           this.msgSuccess(response.msg)
@@ -275,7 +275,7 @@ export default {
       this.$confirm('正在使用代码生成【带权限】请确认?', '提示', {
         confirmButtonText: '生成',
         cancelButtonText: '取消',
-        type: 'info'
+        type: 'warning'
       }).then(function() {
         toProjectTableCheckRole(row.tableId, true).then(response => {
           this.msgSuccess(response.msg)
@@ -286,7 +286,7 @@ export default {
       this.$confirm('正在使用【菜单以及API生成到数据库】请确认?', '提示', {
         confirmButtonText: '写入DB',
         cancelButtonText: '取消',
-        type: 'info'
+        type: 'warning'
       }).then(function() {
         toDBTable(row.tableId).then(response => {
           this.msgSuccess(response.msg)