diff --git a/backend/src/main/java/io/dataease/auth/service/impl/ShiroServiceImpl.java b/backend/src/main/java/io/dataease/auth/service/impl/ShiroServiceImpl.java
index 01a9dd903b..633a054a8a 100644
--- a/backend/src/main/java/io/dataease/auth/service/impl/ShiroServiceImpl.java
+++ b/backend/src/main/java/io/dataease/auth/service/impl/ShiroServiceImpl.java
@@ -20,6 +20,7 @@ public class ShiroServiceImpl implements ShiroService {
// ----------------------------------------------------------
// 放行Swagger2页面,需要放行这些
+ filterChainDefinitionMap.put("/api/data/demo", ANON);
filterChainDefinitionMap.put("/doc.html**", "doc");
filterChainDefinitionMap.put("/deApi**", ANON);
filterChainDefinitionMap.put("/swagger-ui.html", ANON);
diff --git a/frontend/src/views/system/datasource/ApiAuthConfig.vue b/frontend/src/views/system/datasource/ApiAuthConfig.vue
index 2448500372..751a5df081 100644
--- a/frontend/src/views/system/datasource/ApiAuthConfig.vue
+++ b/frontend/src/views/system/datasource/ApiAuthConfig.vue
@@ -59,7 +59,6 @@ export default {
data() {
return {
options: [{name: "No Auth"}, {name: "Basic Auth"}],
- encryptOptions: [{id: false, name: this.$t('commons.encrypted')}],
activeName: "verified",
rule: {},
authConfig: {}
diff --git a/frontend/src/views/system/datasource/ApiVariable.vue b/frontend/src/views/system/datasource/ApiVariable.vue
index 5205f32d39..78fbb98736 100644
--- a/frontend/src/views/system/datasource/ApiVariable.vue
+++ b/frontend/src/views/system/datasource/ApiVariable.vue
@@ -36,32 +36,14 @@
highlight-first-item
@select="change">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -114,10 +96,6 @@ export default {
data() {
return {
currentItem: null,
- requireds: [
- {name: this.$t('commons.selector.required'), id: true},
- {name: this.$t('commons.selector.not_required'), id: false}
- ],
isSelectAll: true,
isActive: true,
}
diff --git a/frontend/src/views/system/datasource/ImportJson.vue b/frontend/src/views/system/datasource/ImportJson.vue
deleted file mode 100644
index 4950467595..0000000000
--- a/frontend/src/views/system/datasource/ImportJson.vue
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/frontend/src/views/system/datasource/convert.js b/frontend/src/views/system/datasource/convert.js
index e339e31dce..9057a08438 100644
--- a/frontend/src/views/system/datasource/convert.js
+++ b/frontend/src/views/system/datasource/convert.js
@@ -189,18 +189,5 @@ class Convert {
return objectTemplate;
}
-
- /**
- * 后台转换
- * @param callback
- */
- // schemaToJsonStr(schema, callback) {
- // post('/api/definition/preview', schema, (response) => {
- // if (callback) {
- // callback(response.data);
- // }
- // });
- // }
}
-module.exports = Convert;